Java- How to verify if Thai characters are encoded correctly from UTF-8 to TIS620
问题 Get input string in UTF-8, I applied TIS620 encoding and created new string from it now how to retain the bytes? since UTF-8 represents Thai char in 3 bytes where as TIS620 in 1 byte. I've requirement where the backend system stores characters in string as 1 byte only so default UTF-8 breaks it. How to convert String character encoding from UTF-8 to TIS620? How to retain the byte size while passing it to backend system? If the string is reassigned to new String , Does character encoding is