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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -