kaloyan_iliev wrote on Mon Jan 16 18:33:19 CET 2006:
Hi All, I have the following problem. I use perltidy to remove the comments from my source before I give it to the customers. So i decide to use the integrated in EPIC pertidy and "-dac" option and then run. What was my surpires to see that all the cyrilic characters(in the user messages) were changed to "?". When I run perltidy from the shell I get no such problem. It is not so important but it will be easy if I don't have to run the shell perltidy. Thank you in advace for the responses.
jploski wrote on Mon Jan 16 21:49:49 CET 2006:
EPIC uses the default encoding of the Java virtual machine to communicate with perltidy (to convert the UTF16 format used internally by Java to bytes and vice versa). The default encoding of the JVM is platform-dependent. For example, under Linux you can set the LC_ALL environment variable before running 'eclipse' to influence it. I don't know how to do the same under Windows. You should experiment with setting the locale to the one that includes the correct encoding for your cyrillic characters and see if that helps. It would be nice if EPIC had a preference for setting this encoding and overriding the JVM default as an easy alternative to relying on such platform-dependent settings.
Note: The above is an archived snapshot of a forum thread. Use the original thread at sf.net to post comments.