From: Jano Svitok Date: 2007-11-17T18:58:01+09:00 Subject: Re: Letters with accent marks On Nov 17, 2007 1:58 AM, Hickman Hickman wrote: > Any ideas? > > I have a textBox that users will be entering data into and most likely > they will not bother to write the accent marks over the correct letters. > When performing the search I need a way to look at the words in the > database and say does it have a accent mark over it and if so ignore it > and render it as a, e, i, o, u. I tried to copy and paste these letters > with accent marks into the file but the program doesnt recognize them. > > Any idea how to test for i with an accent mark, a with an accent mark, > etc... I guess Iconv library is able to convert any encoding to plain ascii. http://www.ruby-doc.org/stdlib/libdoc/iconv/rdoc/index.html you can try it online at http://www.iconv.com/iconv.htm