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

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

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.

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

//@charset ISO-8859-1


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

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

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.

14 Oct 2012, 10:52 PM
Yes of course

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

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

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

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. :)