EDUMPER(1)
πΈ NAME πΈ
okay so bestie, this is EDUMPER(1) β literally the manual page for edumper, and its whole thing is unescaping the dumped multibyte strings by Data::Dumper. No cap, thatβs the vibe. π
β¨ SYNOPSIS β¨
For example, imagine this little script:
$ cat hoge.pl
use utf8;
use Data::Dumper;
print Dumper ['ζ₯ζ¬θͺ葨瀺θ½ε'];
Normaly, it gets escaped like below:
$ perl hoge.pl
$VAR1 = [
"\x{65e5}\x{672c}\x{8a9e}\x{8868}\x{793a}\x{80fd}\x{529b}"
];
Piped edumper. π¦
$ perl hoge.pl | edumper
$VAR1 = [
"ζ₯ζ¬θͺ葨瀺θ½ε"
];
CONGRATS! π Thatβs the whole main-character moment.
π¦ OPTIONS π¦
π encoding π
If the dumped string is not utf8, then you should pass the encoding option to edumper. Like this, bestie:
$ perl hoge.pl | edumper cp932
π AUTHOR π
Dai Okabayashi <bayashi@cpan.org> β iconic author energy. π
π₯ SEE ALSO π₯
Data::Dumper::AutoEncodeData::Dumper
π LICENSE π
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. π«Ά
Catch you later β EDUMPER(1) energy from perl v5.42.3, dated 2020-04-12. Mwah! π
π¦ where this page comes from
- nixos 26.05: perl5.42.3-Data-Dumper-AutoEncode 1.00
- nixpkgs unstable: perl5.42.3-Data-Dumper-AutoEncode 1.00
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms