From: pere.noel@... (=?ISO-8859-1?Q?Une_b=E9vue?=) Date: 2006-01-25T00:47:01+09:00 Subject: Re: remove non-ASCII characters in a string Dave Burt wrote: > My version might look like this: > > NON_ASCII = /[\x80-\xff]/ > "I�t�rn�ti�n�liz�ti�n".gsub(NON_ASCII, "?") #=> "I?t?rn?ti?n?liz?ti?n" i'd like not to remove no-ascii chars but replace all accentuated chars (in an UTF-8 string) by them non-accentuated counterpart : � => e � => a � => c [...] what is the best way to do that in Ruby? -- une b�vue