From: Xavier Noria Date: 2006-02-21T08:28:03+09:00 Subject: accents and String#tr I wrote this method def self.normalize_for_sorting(s) return nil unless s norm = s.downcase norm.tr!('�����', 'aeiou') norm.tr!('�����', 'aeiou') norm.tr!('�����', 'aeiou') norm.tr!('�����', 'aeiou') norm.tr!('�����', 'aeiou') norm.tr!('�����', 'aeiou') norm.tr!('�����', 'aeiou') norm.tr!('�����', 'aeiou') norm end to normalize strings for sorting. This script is UTF-8, everything is UTF-8 in my application, $KCODE is 'u'. But it does not work, examples: Andr�s -> andruos L�pez -> luupez P�rez -> puorez I tried to "force" it with Iconv.conv('UTF-8', 'ASCII', 'aeiou') to no avail. Any ideas? -- fxn