Re: more localization (l10n)

Earl Hood <earl-kgk2VSi+Fo9Wk0Htik3J/[email protected]>
Newsgroups gmane.mail.archives.mail-archive
Message-ID <[email protected]>
On February 15, 2005 at 02:00, Jeff Breidenbach wrote:

> I just reviewed all the language translations and am looking for
> volunteers to help make some changes. This is technical work
> involving character sets and doesn't necessarily require language
> fluency.

Looks like you may be able to write a Perl script that uses
the Encode module to do the conversion for you.  For example,
you can use Encode to convert koi-8 to utf-8, and than convert
the UTF-8 values to numerical entity references.

Have a look at MHonArc::CharEnt's _utf8_to_sgml() routine.
It basically provides the conversion code to do what you want.
You only need the part for Perl >= 5.6 if using later versions
of Perl.

--ewh

_______________________________________________
Discussion list for The Mail Archive
[email protected]
http://jab.org/cgi-bin/mailman/listinfo/gossip
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.