Bug#570280: libjson-perl: umlauts problem

Thomas Mueller thomas at chaschperli.ch
Thu Feb 18 13:45:18 UTC 2010


> 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");
>  print $decoded->{test2};
> 
> makes the script output the umlauted character.
> 
> Please provide more information about the problem you're seeing.

oh man, tried the hole day to get it running, never thought the
"problem" would be Dumper.

it's all working now with your 2 lines of code.

sorry for wasting your time. :/

- Thomas







More information about the pkg-perl-maintainers mailing list