Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
2008-Aug-21 09:12 UTC
[Ym4r-user] Error geocoding addresses with non-ascii characters
I need to set output encoding to utf-8 in the url (&oe=utf-8). Without that parameter google returns a malformed xml, header says utf-8 but it''s encoding in iso-8859-1 and then REXML raises an exception. I attach a patch to fix it -- Sergio Cambra .:: entreCables - Symbol Servicios Inform?ticos S.L. ::. Nicol?s Guill?n 6, locales 2 y 3. 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) sergio at entrecables.com -------------- next part -------------- A non-text attachment was scrubbed... Name: set_utf8_output_encoding.patch Type: text/x-diff Size: 600 bytes Desc: not available URL: <http://rubyforge.org/pipermail/ym4r-user/attachments/20080821/b7e1a6ee/attachment.bin>