Subject: | geocode result has not utf8 flag set |
It seems that Geo::Coder::Yahoo does not set the utf-8 flag:
$ perl -MDevel::Peek -MGeo::Coder::Yahoo -e '$loc =
Geo::Coder::Yahoo->new(appid => "test")->geocode(location => "Berlin,
Dudenstr. 1"); Dump $loc->[0]->{address}'
SV = PV(0x8e5bc8) at 0x985c18
REFCNT = 1
FLAGS = (POK,pPOK)
PV = 0x9c96c0 "Dudenstra\303\237e 1"\0
CUR = 15
LEN = 16
The \303\237 is the german sharp s.
Regards,
Slaven