You can try and do a base64 encode/decode strategy. So convert the string in your desired character set to bytes and then to base64 while sending and when you receive, convert the base64 string to bytes and then to your desired character set. Might work?