From: Alan Schwarz Date: 2012-07-31T13:27:01+09:00 Subject: Re: em-http request On Sat Jul 28 17:31:43 2012, rubix Rubix wrote: > Hi, > > I am using EventMachine and em-http gems to open some urls > it works fine but when I try to open a site with utf-8 encoding (french > or arabic) I get unicode symbols instead of real character (\u202B...) > for some sites, I get an empty answer, (I verified it has a non empty > content) > Is there a way to deal with this problem > regards > I would like to see what you wrote, but I can only suggest for Ruby 1.9.3 require 'addressable/uri' normalized_url = Addressable::URI.parse(your_url_with_utf8_characters).normalize