PDA

View Full Version : Error unicode on sencha sdk v3.0.0.201



thang_ibrahim
13 Oct 2012, 8:25 AM
sencha command v3.201 error with character : ớ, Đ, ứ, ệ, ể, ư, ợ, ậ, ờ, ả

dongryphon
14 Oct 2012, 6:57 PM
Can you provide some specifics on what commands you are using and what file(s) have problems with these characters?

In general, for JavaScript files, ensure the file is either UTF-8 encoded or contains a "//@charset XYZ" directive on the very first line of the file. The "XYZ" string can be any valid Java charset. See http://docs.oracle.com/javase/1.4.2/docs/api/java/nio/charset/Charset.html for some details.

dongryphon
14 Oct 2012, 6:59 PM
For example, foo.js:



//@charset ISO-8859-1

...

dongryphon
14 Oct 2012, 7:02 PM
On 3.0.0.201 release, we will update the CDN and provide release notes shortly.

thang_ibrahim
14 Oct 2012, 8:03 PM
i config:

//@charset UTF-8
on the first line in every file js and save that file in utf-8 (using edit plus)
But same issue

dongryphon
14 Oct 2012, 8:52 PM
Can you zip one of the files and attach it here? I am fairly certain we have tests covering this but maybe we've missed something or something else is going on that isn't obvious.

thang_ibrahim
14 Oct 2012, 10:52 PM
Yes of course

svenna
14 Oct 2012, 11:00 PM
The real question is, how did you find a .201 build?

thang_ibrahim
14 Oct 2012, 11:09 PM
here: http://www.sencha.com/forum/announcement.php?f=92&a=36

thang_ibrahim
15 Oct 2012, 12:27 AM
In the previous like sencha sdk 2.0.0 b3,it work great.

dongryphon
15 Oct 2012, 2:09 PM
Yeah - just a lot more moving parts in Cmd v3... I think we have this narrowed down to only applying to a production Sencha Touch build. We should have a refresh soon so stay tuned. And thanks for all your help. :)