On Fri, Feb 09, 2007 at 07:12:06AM +0800, Dan Jacobson wrote: > Package: perl-doc > Version: 5.8.8-7 > Severity: wishlist > X-debbugs-cc: [EMAIL PROTECTED] > File: /usr/share/man/man3/Data::Dumper.3perl.gz > > We see there on the man page > Pure Perl version of "Data::Dumper" escapes UTF-8 strings > correctly only in Perl 5.8.0 and later. > But what if we don't wish to see > $VAR3 = "\x{8ecd}\x{529f}"; > $VAR4 = { > "*\x{8ecd}\x{529f}\x{8def}97\x{865f}\x{5c0d}\x{9762}" => 2, > etc. but instead the actual UTF-8 chars. > > Say there on the man page what to do. > I had to do > $ perl file|ascii2uni -C > as a workaround. >
Unfortunately, ascii2uni is not a part of Perl, and is probably not cross-platform, so is not a usable example. Perhaps you'd like to propose an example using Perl code, and a patch for the documentation? Steve Peters [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]