views:

117

answers:

1

I need to remove accents from strings, is there a Delphi (2009+) function for this?

I want that my string contains only A-Z a-z 0-9 chars, so I want to remove accents automatically

Like:

RemoveAccents(àèÃÜÿñ)

that gives

aeAUyn

etc....

+6  A: 

Convert Hi-Ansi chars to Ascii equivalent (é -> e)

Craig Peterson
Very cool - I need this too...
Chris Thornton
Yes, that was a very good answer. Well deserving some extra exposure (and rep) ;-)
François