开发者

How do I install Encode::HanExtra for ActivePerl?

开发者 https://www.devze.com 2022-12-28 04:46 出处:网络
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 is provide

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 is provided by Trouchelle's PPM repository, here for example built for ActiveState Perl 5.10: http://trouchelle.com/perl/ppmrepview.pl?l=E&v=10#Encode-HanExtra


Encode-HanExtra does exist according to this page but there is no Windows build. Some options:

  • Encode::CNMap can convert between many different Chinese encodings (gb2312, big5, utf8, gbk). ActivePerl name is Encode-CNMap.

  • 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.

  • 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.

  • You could build your own PPM version of Encode::HanExtra (not recommended)


Is there some special reason that you want to use ActivePerl?

You might consider using Strawberry Perl so you can use the normal CPAN tools to install any module that you want, regardless if someone has created a package for you.

0

精彩评论

暂无评论...
验证码 换一张
取 消