how Encode::Hanextra work?

K

ke.kewen

I use ActivePerl 5.8.6, and install the Encode::Hanextra module through
PPM, but the perl couldn't find the codepage of "gb18030".

I find the next three lines in Encode\Config.pm:
#'big5plus' => 'Encode::HanExtra',
#'euc-tw' => 'Encode::HanExtra',
#'gb18030' => 'Encode::HanExtra',
after un-comment these lines. "gb18030" could work, but the alias
"GB-18030" couldn't work.
Is there some bug? or I do something wrong?
Thanks very much.
 
C

chaoslawful

I use ActivePerl 5.8.6, and install the Encode::Hanextra module through
PPM, but the perl couldn't find the codepage of "gb18030".

I find the next three lines in Encode\Config.pm:
#'big5plus' => 'Encode::HanExtra',
#'euc-tw' => 'Encode::HanExtra',
#'gb18030' => 'Encode::HanExtra',
after un-comment these lines. "gb18030" could work, but the alias
"GB-18030" couldn't work.
Is there some bug? or I do something wrong?
Thanks very much.

It seems that the aliases are only defined in Encode::HanExtra, so you
have to "use Encode::HanExtra;".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,164
Messages
2,570,898
Members
47,440
Latest member
YoungBorel

Latest Threads

Top