Subject: | Funky encoding of some non-alphanumberic chars in Hotmail names |
When returning hotmail contacts which don't have first name associated
with them, them module is returning funky stuff like:
{
'email' => 'john_sample@hotmail.com',
'name' => 'john_sample\\x26\\x2364\\x3bhotmail.com'
},
(Obviously the @ sign here). Could be fixed with:
=~ s{\\x26\\x2364\\x3b}{@}gxms
{
'email' => 'sample@domain.com',
'name' => 'Sample \\x26\\x2340\\x3bhome\\x26\\x2341\\x3b'
}
Looks to be "(home)"
I don't really understand the encoding issues well enough to fix it
myself for all possible characters, but I think it merits a ticket. :)
Thanks for all of your helpful work!
Olaf