NAME

print-argv-utf8 - Print command-line arguments (as UTF-8 strings)

VERSION

This document describes version 0.002 of print-argv-utf8 (from Perl distribution App-CLITestUtils), released on 2016-11-01.

SYNOPSIS

% print-argv-utf8 Hello 您好
0       "Hello"
1       "\x{60A8}\x{597D}"

DESCRIPTION

Like print-argv, except that arguments will be converted from octets to Unicode strings first. Compare the example in Synopsis when we're using print-argv:

% print-argv Hello 您好
0       "Hello"
1       "\xE6\x82\xA8\xE5\xA5\xBD"

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/App-CLITestUtils.

SOURCE

Source repository is at https://github.com/perlancar/perl-App-CLITestUtils.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-CLITestUtils

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

SEE ALSO

print-argv

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.