Re: converting from CP1250 to ASCII

2005-01-27 Thread Ing. Branislav Gerzo
Ing. Branislav Gerzo [IBG], on Thursday, January 27, 2005 at 09:47 (+0100) made these points: IBG> Convert the string to UTF-8, then iterate over the characters, get IBG> their names using Unicode::CharName::uname, strip the accent using IBG> regular expression from the name, like LATIN CAPITAL L

Re: converting from CP1250 to ASCII

2005-01-27 Thread Ing. Branislav Gerzo
Jay [J], on Wednesday, January 26, 2005 at 16:51 (-0500) typed: J> Are you sure? There's no newline, so make sure you're terminal isn't J> putting "aez" before your prompt. Also, are you sure that the input I am sure, because, if I put there "aez" (no accents), it prints "aez" J> is what you t

Re: converting from CP1250 to ASCII

2005-01-26 Thread Jay
On Wed, 26 Jan 2005 16:21:42 +0100, Ing. Branislav Gerzo <[EMAIL PROTECTED]> wrote: > Hi beginners@perl.org, > > how can I convert some text from windows-1250 codepage to ASCII ? > I tried: > > use Text::Iconv; > $c = Text::Iconv->new("WINDOWS-1250", "ASCII"); > print $cted = $c->convert("ÃÃÅ");

Re: converting from CP1250 to ASCII

2005-01-26 Thread Dmitry Nikolayev
I use Unicode::Map8 and have no probs,.. try that module.. With best wishes, Dmitry Nikolayev http://perl.dp.ua "Ing. Branislav Gerzo" <[EMAIL PROTECTED]> ???/ ? ?: news:[EMAIL PROTECTED] > Hi beginners@perl.org, > > how can I convert some text from windows-1250 code

converting from CP1250 to ASCII

2005-01-26 Thread Ing. Branislav Gerzo
Hi beginners@perl.org, how can I convert some text from windows-1250 codepage to ASCII ? I tried: use Text::Iconv; $c = Text::Iconv->new("WINDOWS-1250", "ASCII"); print $cted = $c->convert("áè¸"); but returns nothing, I awaint "aez", I am running AS perl on Win. anyone ? -- --. ,-- ,- IC