How to define a new Charset in Java/Android? -


in taiwan have character encoding called "unicode @ 1 (uao)", extension big-5 not supported java , android.
code page in http://moztw.org/docs/big5/table/uao241-b2u.txt

my question is, how can build string object byte array data, using charset?
guess extend string class , in it, have no idea how create new charset.

you can add own charset implementation writing charsetprovider , registering via service discovery mechanism.

you'll need extend charset , implements newdecoder , newencoder methods return appropriate charsetdecoder , charsetencoder respectively.


Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -