Author image Aleksandr Aleshin

NAME

Encode::Multibyte::Detect - detect multibyte encoding

SYNOPSIS

    use Encode::Multibyte::Detect qw(:all);
    use Encode;

    $enc = detect($octets, strict => 1, avail => [qw(euc-cn)]);
    if ($enc) {
        $string = decode($enc, $octets);
    }

    is_7bit($octets);

    is_valid_utf8($octets);
    is_strict_utf8($octets);

    is_valid_euc_cn($octets);
    is_valid_euc_jp($octets);
    is_valid_euc_kr($octets);
    is_valid_euc_tw($octets);

REPOSITORY

The source code for the Encode::Multibyte::Detect is held in a public git repository on Github: https://github.com/Silencer2K/perl-enc-multibyte

AUTHOR

Aleksandr Aleshin <silencer@cpan.org>

COPYRIGHT

This software is copyright (c) 2012 by Aleksandr Aleshin.

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