Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ascii to ucs encode and decode

Status
Not open for further replies.

MiMoore

Programmer
Aug 25, 2005
12
0
0
IE
Hi,

is there any perl module to handle ascii to ucs-2 encode and decode?

basically I just want to read a file with ascii chars and get result in ucs-2 format (2 bytes per char)

thanks.
 
Found this on CPAN with 5 seconds of effort. Looks like a no-brainer to use...

Steve

[small]"Every program can be reduced by one instruction, and every program has at least one bug. Therefore, any program can be reduced to one instruction which doesn't work." (Object::perlDesignPatterns)[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top