[Python-Dev] KOI8_U (New codecs checked in)
M.-A. Lemburg
mal at egenix.com
Mon Oct 24 13:37:05 CEST 2005
M.-A. Lemburg wrote:
> Walter Dörwald wrote:
>
>>>>Why should koi_u.py be defined in terms of koi8_r.py anyway? Why not put
>>>>a complete decoding_table into koi8_u.py?
>>>
>>>
>>>KOI8-U is not available as mapping on ftp.unicode.org and
>>>I only recreated codecs from the mapping files available
>>>there.
>>
>>
>>OK, so we'd need something that creates a new decoding table from an old
>>one + changes, i.e. something like:
>>
>>def update_decoding_table(table, new):
>> table = list[table]
>> for (key, value) in new.iteritems():
>> table[key] = unichr(value)
>> return u"".join(table)
>
>
> Actually, I'd rather have some official mapping files
> for these.
>
> Perhaps we could get someone to upload a mapping file
> for KOI8_U to the Unicode site ?!
>
> The mapping is defined in RFC2319:
>
> http://www.faqs.org/rfcs/rfc2319.html
>
> I've put Alexander Yeremenko, the coordinator of
> the KOI8-U group on CC.
Hmm, that email address bounces. I've now put Maxim
on CC: Maxim Dzumanenko <mvd at mylinux.com.ua>
Here's a mapping file for KOI9-U - please check whether
it's correct.
Thanks,
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Oct 24 2005)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: KOI8-U.TXT
Url: http://mail.python.org/pipermail/python-dev/attachments/20051024/362a6093/KOI8-U-0001.asc
More information about the Python-Dev
mailing list