10

Hello I would like to test an URL encoding in UTF-8 Is there some online tools to do that? The closest I have found is in this question which finally suggest to test on the client side using GNU.

note: I need to do that by code. Like sending the chars to enconde on a GET petition.

Community
  • 1
  • 1
Dayerman
  • 3,973
  • 6
  • 38
  • 54
  • 2
    It depends entirely on which programming language you are using. Most modern languages will have methods to convert a binary string into Unicode and (usually) a mode to reject invalid input. For example, in Python, `unicode = your_input_string.decode('utf-8')` -- wrap that in a `try`/`except UnicodeEncodeError` to catch any encoding errors. – tripleee May 17 '15 at 11:28

0 Answers0