Hello
I want to turn names into Google valid emails. Problem is that some people have non-ascii names.
For example: Zoé or Anaïs
I hoped to convert these to Zoe and Anais for generating a Google Email adress.
I know I can do a string replace, but I think I will forget some special letters and things will go wrong.
I also tried to encode them by doing a bytestoString conversion with ASCII as the encoding, but that gives me Zo? and Ana?s, which is not better.
Does anyone know a reliable way to convert special characters to their respective ascii counterparts?
Thanks!