John Neystadt > cyrillic > Convert::Cyrillic

Download:
cyrillic-1.05.tar.gz

Dependencies

Annotate this POD (1)

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 1.02   Source  

NAME ^

Convert::Cyrillic v1.02 - Routines for converting from one cyrillic charset to another.

SYNOPSIS ^

        use Convert::Cyrillic;

        $src = 'koi8';
        $dst = 'win';
        $SrcBuf = 'text in koi8 here';
        $DstBuf = Convert::Cyrillic::cstocs ($Src, $Dst, $SrcBuf); 

DESCRIPTION ^

This package implements routine for converting from one cyrillic charset to another. It is intended to be used from cgi's which need built-in support for translations. For example, you may wish to use it in form processor to translate from user encoding to one used by your site.

Where $Src and $Dst are one of:

        KOI8 - for KOI8-R 
        WIN - for WIN-1251 
        DOS - for DOS, alternative, CP-866 
        MAC - for Macintosh 
        ISO - for ISO-8859-5 
        UTF-8 - for UTF-8 (Unicode)
        VOL - for Volapuk (transliteration) 

Buffer may contain line breaks, which are preserved.

NOTES ^

Part of "WWW Cyrillic Encoding Suite" Get docs and newest version from http://www.neystadt.org/cyrillic/

Copyright (c) 1997-98, John Neystadt <http://www.neystadt.org/john/> You may install this script on your web site for free. To obtain permision for redistribution or any other usage contact john@neystadt.org.

Drop me a line if you deploy this script on your site.

AUTHOR ^

John Neystadt <john@neystadt.org>

SEE ALSO ^

perl(1), Lingua::DetectCharset(3).

syntax highlighting: