From: Paul Battley Date: 2006-07-25T16:11:14+09:00 Subject: Re: Escaping international characters On 25/07/06, Alexander Lamb wrote:> Hello,>> This seems rather simple but it doesn't work as expected:>> I have a string like "'辿cole" I would like to get "école". Get this: http://htmlentities.rubyforge.org/ And do this: HTMLEntities.encode_entities("辿cole", :basic, :named)# => "école" (Make sure that you are using UTF-8) Paul.