byte array to string conversion

Lars Andersen lars@rimfaxe.com
Thu Sep 11 20:59:00 GMT 2003


Tom Tromey wrote:
>>>>>>"Lars" == Lars Andersen <lars@rimfaxe.com> writes:
>>>>>>>>>>>>>>Lars> Just tried it with the latest 3.4 snapshot. Same thing.
>>I suspect your system's iconv(), or your locale setting, or both.
>>Try debugging the program with gdb. My theory is that the early
>`test_str.getBytes()' call is returning bad results.
>>Tom
>>
If I make String use "iso-8859-1" encoding, the error goes away.
/Lars Andersen


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /