I tried logging the Greek characters using log4j with encoding set to UTF-8 to check whether the problem is with rendering the characters are pulling the characters from DB. But in the logs the Greek characters are not displayed even in the dev environment.
Adding salt to the burn when i sysout Greek characters in a test program Greek characters are shown in eclipse console without any problem.
I am puzzled here what actually controls the encoding format of a piece of code in execution and how to fix the discrepancies ???
Any thoughts on this would be much appreciated....
Space pants. Tiny ad:
create, convert, edit or print DOC and DOCX in Java