String::Multibyte::GBK - internally used by String::Multibyte for GBK


NAME

String::Multibyte::GBK - internally used by String::Multibyte for GBK


SYNOPSIS

    use String::Multibyte;
    $gbk = String::Multibyte->new('GBK');
    $gbk_length = $gbk->length($gbk_string);


DESCRIPTION

String::Multibyte::GBK is used for manipulation of strings in GBK (Guobiao Kuozhan).

Byte range of single-byte characters: 0x00..0x80.

Leading byte range of double-byte characters: 0x81..0xFE.

Trailing byte range of double-byte characters: 0x40..0x7E and 0x80..0xFE.

Character order (invalid code points are excluded): 0x00..0x80, 0x8140..0xFEFE.


CAVEAT

0x80 is supported in consideration of Microsoft's CP936. (Hmmm, according to IANA Charset Registration for GBK, GBK must be identical to CP936.)


SEE ALSO

the String::Multibyte manpage

 String::Multibyte::GBK - internally used by String::Multibyte for GBK