[Kc] cleaning up unicode?

John Reinke jmreinke at sunflower.com
Sat Mar 1 00:02:58 CST 2003


This will hopefully be an easy question for some of you. I left the
camel and llama at work over the weekend, otherwise I would consult them
first.

I have a text file which contains a character I am guessing as being
considered a unicode character. It is the letter 'u' with the accent
mark over it that looks like an apostrophe, which appears in some text
editors as <FA>.

I'd like to convert any of those characters to be regular ASCII
characters, most likely with a tr command, but I haven't been able to
find a way to match that character. Any suggestions?

Once I can match those characters, is there an easy way to convert all
accented characters to their non-accented counterparts, such that the
accent will disappear but the same letter will remain?

Thanks for any help,
John





More information about the kc mailing list