Bug#570280: libjson-perl: umlauts problem

2010-02-18 Thread Thomas Mueller
The "\x{f6}" in your example is produced by Data::Dumper, which formats non-ASCII characters in this way for clarity. Adding a 'print Dumper($string);' line shows the output hash $decoded is identical to the original input hash $string. Also, using something like binmode(STDOUT, ":utf8"); p

Bug#570280: libjson-perl: umlauts problem

2010-02-18 Thread Niko Tyni
On Wed, Feb 17, 2010 at 09:04:53PM +0100, Thomas Mueller wrote: > Package: libjson-perl > Version: 2.17-1 > Severity: normal > seems that JSON is not "restoring" umlauts correctly. tried to > use a symfony json service. for example I got "\x{f6}" instead of > "ö". symfony/php sends it "ascii" enc

Bug#570280: libjson-perl: umlauts problem

2010-02-17 Thread Thomas Mueller
Package: libjson-perl Version: 2.17-1 Severity: normal hi seems that JSON is not "restoring" umlauts correctly. tried to use a symfony json service. for example I got "\x{f6}" instead of "ö". symfony/php sends it "ascii" encoded. decoding the same json stream with php json was no problem. trie