Skip to main content
1 of 2
user2238
  • 121
  • 1
  • 1
  • 3

Convert UTF-8 to ASCII

How can I convert a text file or a String from UTF-8 format to ASCII?

For example, the following string "ZÜRICH-ZOLLI" once outputted into a text file. If the file has the format UTF-8 is has 13 characters but when the format is ASCII the number of characters is 12.

user2238
  • 121
  • 1
  • 1
  • 3