harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu" <wuyue...@gmail.com>
Subject [classlib][luni]some non ascii characters in String2Test
Date Thu, 21 Jun 2007 10:07:15 GMT
I found following line in java.lang.String2Test.java

LINE464:  "string".getBytes("?Q?D??_??_6ffa?+vG?_??���??");

I converted it to "?Q?D??_??_6ffa?+vG?_??\u951f\ufffd??" by
native2ascii and all tests passed, but I'm not sure if this fix is ok
since the "?" may indicate some unrecognized character in my locale?
What's your opinion?

-- 
Tony Wu
China Software Development Lab, IBM
Mime
View raw message