encoding::stdio - Provides an easy way to set encoding layers on STDOUT and STDIN


encoding-stdio documentation  | view source Contained in the encoding-stdio distribution.

Index


NAME

Top

encoding::stdio - Provides an easy way to set encoding layers on STDOUT and STDIN

SYNOPSIS

Top

    use encoding::stdio "utf8";
    use encoding::stdio ":locale";

DESCRIPTION

Top

The encoding pragma assumes that the development environment and the environment in which the program will run, use the same character encoding. Typically, they will be different, but unfortunately, it's too late to change encoding now.

We can add new modules, though.

encoding::stdio only installs the PerlIO :encoding layers on STDOUT and STDIN, without installing a source filter.

See encoding::source by Rafael Garcia-Suarez for handling source encoding without touching stdio encodings.

See encoding for usage information.

AUTHOR

Top

Juerd Waalboer <juerd@cpan.org>

SEE ALSO

Top

encoding::source, encoding


encoding-stdio documentation  | view source Contained in the encoding-stdio distribution.