I want to provide the binary with *only one* language, because I want to
be as small as I can.
But I want to provide many binaries (one per language).
So, I write the code with hardcoded strings like "$_nearest_dist_$".
I write a file like:
-----english.ini----
$_nearest_dist_$=Nearest distance is 90m
--------------------
and I write a php script which in *.java files, replaces all strings in
form "$_*_$" with language correct string.
php phpWriteStringsToSource.php <project_folder> <language.ini>
THE BIG PROBLEM: I realize that *.java files must have ansi* encoding!
Any of utf-8, uc16le or be is not compiled correct!
So, what I can do?
Daniel Dyer - 15 Oct 2006 16:24 GMT
> THE BIG PROBLEM: I realize that *.java files must have ansi* encoding!
> Any of utf-8, uc16le or be is not compiled correct!
>
> So, what I can do?
Not true, take a look at the -encoding switch for javac.
Dan.

Signature
Daniel Dyer
http://www.uncommons.org