29 May 2002 17:44:45 UTC
- Distribution: cyrillic
- Module version: 1.02
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (2)
- Testers (315 / 0 / 0)
- KwaliteeBus factor: 0
- License: unknown
- Activity24 month
- Download (24.06KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Convert::Cyrillic v1.02 - Routines for converting from one cyrillic charset to another.
use Convert::Cyrillic; $src = 'koi8'; $dst = 'win'; $SrcBuf = 'text in koi8 here'; $DstBuf = Convert::Cyrillic::cstocs ($Src, $Dst, $SrcBuf);
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.
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 firstname.lastname@example.org.
Drop me a line if you deploy this script on your site.
John Neystadt <email@example.com>
Module Install Instructions
To install Convert::Cyrillic, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Convert::Cyrillic
For more information on module installation, please visit the detailed CPAN module installation guide.