Konstantin Doulepov > Convert-Cyr > Convert::Cyr

Download:
Convert-Cyr.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Convert::Cyr, chcp - Perl module for change cyrillic code page of a text.

SYNOPSIS ^

use Convert::Cyr qw(chcp); $converted_string=chcp($string, $maxlen, $from, $to);

ABSTRACT ^

Convert::Cyr, chcp - change cyrillic code page of a text.

DESCRIPTION ^

chcp takes as the first argument a string that is to be converted. It returns the converted string. Second argument is the lenght of the string. Third is source codepage. Forth is target codepage.

Original description from PHP function:

convert_cyr_string (string str, string from, string to) "This function returns the given string converted from one Cyrillic character set to another. The from and to arguments are single characters that represent the source and target Cyrillic character sets."

The supported types are: k - koi8-r w - windows-1251 i - iso8859-5 a - x-cp866 d - x-cp866 m - x-mac-cyrillic

EXPORT

chcp($string, $maxlen, $from, $to);

AUTHOR ^

Konstantin Doulepov <kdoulepov@eur.ko.com>. With code integrated that was in built-in PHP function of ...

SEE ALSO ^

perl.

syntax highlighting: