in reply to How can i convert utf-8 string to cyrillic (win-1251)?
With the Encode module.
use warnings; use strict; use Encode; my $string = 'A bunch of cyrillic characters that won\'t show up corre +ctly here.'; Encode::from_to($string, 'utf-8', 'cp1251'); # or whatever
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How can i convert utf-8 string to cyrillic (win-1251)?
by dmitryrusak (Acolyte) on May 24, 2005 at 19:14 UTC |