The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Encode::VN - Extra sets of Vietnamese encodings

VERSION

This document describes version 0.06 of Encode::VN, released September 15, 2013.

SYNOPSIS

    use Encode;
    use Encode::VN;

    # VNI (ANSI)
    $vni  = encode("x-viet-vni", $utf8);
    $utf8 = decode("x-viet-vni", $vni );

DESCRIPTION

Perl 5.7.3 and later ship with an adequate set of Vietnamese encodings, including the commonly used VISCII and CP1258 (also known as MacVietnamese) encodings.

However, there are additional Vietnamese encodings that are used and may be encountered; hence, this CPAN module tries to provide the rest of them.

ENCODINGS

This version includes the following encoding tables:

  Canonical        Alias                       Description
  -----------------------------------------------------------------------------
  x-viet-vni       /\bVNI(-ANSI)?$/i           VNI ANSI (Win/Unix)
  x-viet-vni-ascii /\bVNI-ASCII$/i             VNI ASCII (DOS)
  x-viet-vni-mac   /\bVNI-Mac$/i               VNI Mac
  x-viet-vni-email /\bVNI-Email$/i             VNI Internet Mail (Win/Unix/Mac)
  x-viet-vps       /\bVPS$/i                   Vietnamese Professionals Society

SEE ALSO

Vietnamese Unicode SourceForge project: http://vietunicode.sourceforge.net/

VNI Wikipedia page: http://en.wikipedia.org/wiki/VNI

Mozilla VPS mappings: http://lxr.mozilla.org/seamonkey/source/intl/uconv/ucvlatin/vps.uf, http://lxr.mozilla.org/seamonkey/source/intl/uconv/ucvlatin/vps.ut

Encode

ACKNOWLEDGEMENTS

Maps for VNI are generated from the vnichar.htm file, courtesy of the VNI Sofware Comany, http://vnisoft.com/english/vnichar.htm.

Map for VPS is generated from the "Unicode & Vietnamese Legacy Character Encodings" page courtesy of the Vietnamese Unicode project on SourceForge, http://vietunicode.sourceforge.net/charset/.

AUTHORS

John Wang <johncwang@gmail.com>

COPYRIGHT

Copyright 2013 by John Wang <johncwang@gmail.com>.

This software is released under the MIT license cited below.

The "MIT" License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.