-
6 Jun 2008 11:53 AM #1
Character Encoding changed by JSBuilder
Character Encoding changed by JSBuilder
Hello,
Using the JSBuilder with these three files:- ext-base.js
- ext-all.js
- locale\ext-lang-fr_CA.js
Causes a problem with the character encoding. The original ext-lang-fr_CA.js is encoded in UTF-8, but the output file is encoded in ANSI.
For example, before building, the month February is in ext-lang-fr_CA.js as "F
-
7 Jun 2008 9:29 AM #2
I haven't heard about this issue before, which is surprising. We'll look into it.
-
7 Jun 2008 9:33 AM #3
-
5 Aug 2008 6:34 AM #4
request for an update
request for an update
Hello,
I was wondering if there is any update on this issue. Is a fix planned for the next release?
-
22 Aug 2008 12:05 PM #5
Any update
Any update
I notice that Brian Moeskau is on vacation right now. I was hoping to get some update about this bug. Thanks.
-
29 Aug 2008 9:10 AM #6
I've done a bit of testing with the JSBuilder. Using JSBuilder with the tree files specified by BenPencil in that order will reproduce the problem. Using the same files but with locale\ext-lang-fr_CA.js first will not reproduce the problem; the correct encoding is used. It appears that it is using the encoding of the first file. According to Notepad++, the encoding of ext-base.js is ANSI and the encoding of locale\ext-lang-fr_CA.js is UTF-8 (with BOM). The Ext Translations thread says "...please use UTF-8 for character encoding...". Therefore the locale\ext-lang-fr_CA.js has the correct encoding.
I have found a workaround. If you enter something UTF-8 encoded in the comments of the generated text (such as "Workaround to force UTF-8: Canadienne-fran
-
13 Nov 2008 10:53 AM #7
Does anyone have any idea when JSBuilder 1.2 is planned to be released?

-
14 Feb 2009 1:39 AM #8
-
19 Aug 2009 6:15 AM #9
This issue is also valid for JSBuilder 2. It renders any file using umlauts unusable. You can easily reproduce with Ext JS translations.
Tocco AG - technology meets spirit
http://www.tocco.ch
-
21 Aug 2009 12:02 AM #10
Just for your information: a workaround for this issue is to define the file.encoding property:
java -Dfile.encoding=UTF-8 -jar JSBuilder2.jar --projectFile ...Tocco AG - technology meets spirit
http://www.tocco.ch
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote