2008/6/8 David MacIver <
david.maciver@...>:
> On Sun, Jun 8, 2008 at 1:19 AM, Kota Mizushima <
mizukota@...> wrote:
>>> 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.'
>>
>
> This is a known bug in the interpreter. See
>
http://lampsvn.epfl.ch/trac/scala/ticket/992Thanks for the pointer to the trac ticket that I didn't know.
However, I think that ":load" command should load files not in the
platform default encoding but in the encoding specified by
-encoding(or UTF-8 if not specified) to be consistent with scalac in
the first place.
--
Kota Mizushima
e-mail:
mizukota@...