Closed GoogleCodeExporter closed 9 years ago
@kubisroman: This may be a duplicate of bug 19
(http://code.google.com/p/jzebra/issues/detail?id=19).
What we've noticed is, by default, Windows tries to use its own code page for
character encoding and there are several complains online about this without
much resolve.
Bug 19 has similar issues in Linux with Cp1252. Your issues sounds exactly the
opposite. Linux by default prints UTF-8, whereas Windows seems to print
Cp1252. Although some code changes have been made to help the non-ASCII
character sets, we haven't had much testing for these changes (Eko was
unsuccessful in Linux).
That said, can you try the following:
1. Start, "View Advanced System Settings", Environment Variables
2. New, Variable Name=JAVA_TOOL_OPTIONS, Variable value=-Dfile.encoding=UTF8
3. OK, OK
4. Start, "cmd"
5. Type "java", look for "Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8" at
the top. That should be illustrative if the setting was successful.
6. Close cmd. Close and reopen the web browser.
7. Test (again) printing the UTF8 characters, and post your success to this
bug report.
-Tres
Original comment by tres.fin...@gmail.com
on 25 Mar 2011 at 1:15
Fixed in version 1.1.8 using setEncoding(). Confirmed by Eko. Please contact
mailing list for usage instructions until the wiki has been updated to reflect
changes.
http://code.google.com/p/jzebra/downloads/list
Original comment by tres.fin...@gmail.com
on 17 Sep 2011 at 5:22
Original issue reported on code.google.com by
kubisro...@gmail.com
on 25 Mar 2011 at 12:43