UnsupportedEncodingException

I receive this exception when I try my program in a sonyericson k510 mobile set.

I tested my code( word.getString(String encoding) ) with these encodings :

UTF_8

UTF_16

UTF_16BE(LE)

UNICODE.

but the exception is always thrown.

could you please tell me :

which encoding is often used in mobile sets?

what are the possible encodings?(give me a list or a link)

[419 byte] By [etaa] at [2007-11-26 20:12:01]
# 1
Hi,You can get the default encoding through "microedition.encoding" for other encodings try the names like:UTF-8UTF-16UTF-16BE(LE)
Tigra321a at 2007-7-9 23:17:09 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
i think that J2ME can support these encodings http://java.sun.com/j2se/1.3/docs/guide/intl/encoding.doc.html
suparenoa at 2007-7-9 23:17:09 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
thank you all.tigra:I wrote the '_' wrong here. I had used it with '-'
etaa at 2007-7-9 23:17:09 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4
excuse me but I couldn't find this "microedition.encoding" class or package.could you please explain it more.where is this "encoding" ?
etaa at 2007-7-9 23:17:09 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5
Sorry, it's not a class or package....it's just a property,So you can receive the default encoding, used by your J2ME implementation calling: System.getProperty("microedition.encoding");Alex
Tigra321a at 2007-7-9 23:17:09 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 6
thanksbut is there any way to receive all supported encodings?
etaa at 2007-7-9 23:17:09 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 7
try this reading http://java.sun.com/j2me/docs/wtk2.2/docs/UserGuide-html/internationalization.html
suparenoa at 2007-7-9 23:17:09 > top of Java-index,Java Mobility Forums,Java ME Technologies...