Search code examples
androidstringasciiencoding

Convert Arabic and Chinese characters to their ASCII values


I'm trying to convert some Arabic and Chinese characters to their ASCII values to pass into a URL in Android but I really don't have any idea how to get started. Any ideas would be appreciated.


Solution

  • Here is a SO question that is probably close to what you are looking for

    Invalid URI with Chinese characters (Java)