How do I translate 8bit characters into 7bit characters? (i.e. Ü to U)

Posted by Michael Pryor on Stack Overflow See other posts from Stack Overflow or by Michael Pryor
Published on 2008-09-26T16:05:27Z Indexed on 2010/03/09 5:36 UTC
Read the original article Hit count: 239

Filed under:

I'm looking for pseudocode, or sample code, to convert higher bit ascii characters (like, Ü which is extended ascii 154) into U (which is ascii 85).

My initial guess is that since there are only about 25 ascii characters that are similar to 7bit ascii characters, a translation array would have to be used.

Let me know if you can think of anything else.

© Stack Overflow or respective owner

Related posts about ascii