Adam L. Peller | 16 Jan 05:22

compressor and utf-8 again...

Works for me...

$java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)

$java -Dfile.encoding=UTF-8 -jar ../buildscripts/lib/custom_rhino.jar
-c test.js
var chars=new Array("\xc0","\xe0","\xc1","\xe1","\xc2","\xe2","\xc3","\xe3","\xc4","\xe4","\xc5","\xe5","\u0102","\u0103","\u0100"
...

> I'm still facing problems with dojo compressor and source files
> in utf-8 encoding.
>
> I was trying different approaches to solve this, but nothig
> works.
>
> My java version is
> java version "1.5.0_08"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing)
>
> The test file is here:
> http://konczyk.net/syf/test.js
>
> You can open it in a browser and after setting your browser
> encoding to utf-8, you will see all the characters.
>
> It doesn't matter, if I use -Dfile.encoding=UTF-8 while
> compressing - the effect, although slightly different, is still
> far from expected (some mix of unicode sequences and hex)
>
> I tried dojo online compressor - the same problem, the same
> output. So it seems it's not my build that causes the error.
>
> I'm not a Java dev,so it's hard for me to work on this problem.
>
> Does anybody have a solution to this??
>
_______________________________________________
Dojo FAQ: http://dojo.jot.com/FAQ
Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest


Gmane