Note that there are some explanatory texts on larger screens.

plurals
  1. POA question about charset encoding and ICU4C
    primarykey
    data
    text
    <p>I'm running CTS on an android product device(the base code is android 2.3), but the following case failed:</p> <pre><code>java.io.UnsupportedEncodingException: GB18030 at java.nio.charset.Charset.forNameUEE(Charset.java:317) at java.nio.charset.Charset.forNameUEE(Charset.java:317) at java.lang.String.getBytes(String.java:973) at org.apache.harmony.luni.tests.java.lang.StringBufferTest.test_toString(StringBufferTest.java:101) at java.lang.reflect.Method.invokeNative(Native Method) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154) at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:529) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1447) at java.nio.charset.Charset.forName(Charset.java:304) at java.nio.charset.Charset.forNameUEE(Charset.java:315) at java.nio.charset.Charset.forNameUEE(Charset.java:317) at java.lang.String.getBytes(String.java:973) at org.apache.harmony.luni.tests.java.lang.StringBufferTest.test_toString(StringBufferTest.java:101) at java.lang.reflect.Method.invokeNative(Native Method) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154) at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:529) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1447) at java.nio.charset.Charset.forName(Charset.java:304) at java.nio.charset.Charset.forNameUEE(Charset.java:315) </code></pre> <p>While I run the same test on Android SDK 2.3.3 emulator, it passed.</p> <p>Then I compared the source code between android 2.3.3 and my code, nothing different. But I think there must be something different that I have not noticed. I then found this issue is ICU4C related, but ICU4C is very complicated, could any one tell me any clue to track this issue? Or how should I proceed to track the issue?</p> <p>Thanks very much.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload