如何为ActivePerl安装Encode :: HanExtra? [英] How do I install Encode::HanExtra for ActivePerl?
问题描述
我想在Windows XP环境中启用 Encode :: HanExtra 。我在PPM GUI中找不到名称 HanExtra
或 Encode-HanExtra
。
I want to enable Encode::HanExtra on Windows XP environment. I can't find the name HanExtra
or Encode-HanExtra
in PPM GUI. Is there any alias name for it?
推荐答案
Encode-HanExtra确实存在,根据此页面,但没有Windows版本。一些选项:
Encode-HanExtra does exist according to this page but there is no Windows build. Some options:
-
Encode :: CNMap 可以在许多不同的中文编码(gb2312,big5,utf8,gbk)之间进行转换。 ActivePerl的名称为Encode-CNMap。
Encode::CNMap can convert between many different Chinese encodings (gb2312, big5, utf8, gbk). ActivePerl name is Encode-CNMap.
有一个编码::: CN :: Utility 可以在Hanzi,GBK和Unicode / UTF-8之间转换字符。 ActivePerl的名称为Encode-CN-Utility。
There is an ActivePerl version of Encode::CN::Utility which can convert characters between Hanzi, GBK and Unicode/UTF-8. ActivePerl name is Encode-CN-Utility.
您可以安装 Strawberry Perl 而不是ActivePerl。这是使用CPAN的Windows Perl的社区发行版,因此可以安装CPAN上的任何模块(与平台相关的模块除外)。安装后,运行 cpan Encode :: HanExtra
。
You could install Strawberry Perl instead of ActivePerl. This is a community distribution of Perl for Windows that uses CPAN, so any module on CPAN can be installed (except platform-dependent modules). After installing run cpan Encode::HanExtra
.
您可以构建自己的PPM版本的Encode: :HanExtra(不推荐)
You could build your own PPM version of Encode::HanExtra (not recommended)
这篇关于如何为ActivePerl安装Encode :: HanExtra?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!