« Return to Thread: [scala] A character encoding problem when using scala interactive interpreter

Re: [scala] A character encoding problem when using scala interactive interpreter

by Kota Mizushima :: Rate this Message:

Reply to Author | View in Thread

> Have you tried -Dfile.encoding=UTF8?  IIRC it overrides the platform default
> encoding.
>
> -0xe1a

Thanks. I tried -Dfile.encoding=UTF8, but the same problem happened.
While I searched the reason, I found following page.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4163515

Quoting from that page, 'The "file.encoding" property is not required
by the J2SE platform specification; it's an internal detail of Sun's
implementations and should not be examined or modified by user code.'

 « Return to Thread: [scala] A character encoding problem when using scala interactive interpreter