I already have a perl script (thanks to Oyvind A.
Holm) that converts an ascii file with U+nnnn unicode
codes to an utf-8 file.
Now I would like to do the oposite, convert an utf-8
file to an ascii file, each utf-8 character would be
encoded back to U+nnnn. Many thanks in advance for any
help!

--- Pedro Ferreira <[EMAIL PROTECTED]> wrote:
> 
> Works fine, thank you!
> 
> 
> --- "Oyvind A. Holm" <[EMAIL PROTECTED]> wrote:
> > On 2002-03-26 06:58-0800 Pedro Ferreira wrote:
> > 
> > > Please, what is the best tool to convert an
> ascii
> > file
> > > with unicode character codes like this:
> > > U+3400
> > > U+3405
> > > to another UTF-8 file with the corresponding
> > unicode
> > > characters?
> > 
> > This Perl script should do the job:
> > 
> > ========== CUT HERE ==========
> > 
> > #!/usr/bin/perl -w
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy Awards�
> http://movies.yahoo.com/
> --
> Linux-UTF8:   i18n of Linux on all levels
> Archive:      http://mail.nl.linux.org/linux-utf8/
> 


=====
Pedro Ferreira
Grenoble - France

"Everything should be made as simple as possible, but not simpler." - Einstein

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to