Computer Science, asked by meghanauli, 1 year ago

how to convert utf code to ASCII?

Answers

Answered by Róunak
5
I have a file in UTF-8 that contains texts in multiple languages. A lot of it are people's names. I need to convert it to ASCII and I need the result to look as decent as possible.

There are many ways how to approach converting from a wider encoding to a narrower one. The simplest transformation would be to replace all non-ASCII characters with some placeholder, like '_'. If I know the language the file is written in, there are additional possibilities, like romanizatio


meghanauli: I need to convert ASCII string “AssignMenT” into UTF 16. How can it be solved?
Similar questions