From: "F. Senault" Date: 2007-09-26T01:55:05+09:00 Subject: Re: replacing diacritics by simple character Le 25 septembre � 18:25, Une B�vue a �crit : (Hello again... :) ) > do u know of a way to replace diacritics by simple character (ie. : � > -o-> e) > > the same with ligatures (ie. : � -o-> AE ) > > using tables ? IConv can do that for you : >> require "iconv" => true >> i = Iconv.new("ASCII//TRANSLIT", "ISO-8859-15") => # >> i.iconv("a�ou� �") => "a'eou"i AE" >> i.iconv("a�ou� �").gsub(/[^a-zA-Z0-9 ]/, '') => "aeoui AE" Fred -- I've found an axe can do a lot for a paper-mangling printer. Especially if you shout for one at the top of your voice, and then a cow orker brings you said instrument. Suddenly, no more paper jams. (Kai Henningsen in the SDM)