Comment

Onion Talks: Gimme the Stars, I'll Make Your Movie

78
Nerdy Fish12/30/2012 5:42:15 pm PST

re: #75 engineer cat

o.t. pgmr’s qvestion:

Can anybody tell me a less really ugly kludgy way of doing this in Java besides just detecting the MultiByte characters and mapping them to ASCII “by hand”?

* Ÿ =>
* ö =>
* ä =>
* ü =>

fixedStr = fixedStr.replace(“ö”, “”);

I’m not as fluent in Java as I am other languages, but are there any library functions to parse strings in Unicode format? I assume at that point that you could turn around and do some sort of forced conversion to ASCII on output.