[issue24043] Implement mac_romanian and mac_croatian encodings

2015-04-24 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 24.04.2015 21:25, Serhiy Storchaka wrote: > > Serhiy Storchaka added the comment: > > Guido's time machine strikes back. > 'π–∆'.encode('mac_romanian') > b'\xb9\xd0\xc6' 'π–∆'.encode('mac_croatian') > b'\xf9\xe0\xb4' Ah, I should have looked

[issue24043] Implement mac_romanian and mac_croatian encodings

2015-04-24 Thread Behdad Esfahbod
Behdad Esfahbod added the comment: Similar encodings have an alias that removes the underscore: https://github.com/python/cpython/blob/master/Lib/encodings/aliases.py#L435 -- ___ Python tracker ___

[issue24043] Implement mac_romanian and mac_croatian encodings

2015-04-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What aliases have these encodings? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue24043] Implement mac_romanian and mac_croatian encodings

2015-04-24 Thread Behdad Esfahbod
Behdad Esfahbod added the comment: Huh. So they are implemented, even though they are not in aliases.py. Sorry about the noise! Please add them to aliases.py. -- ___ Python tracker _

[issue24043] Implement mac_romanian and mac_croatian encodings

2015-04-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Guido's time machine strikes back. >>> 'π–∆'.encode('mac_romanian') b'\xb9\xd0\xc6' >>> 'π–∆'.encode('mac_croatian') b'\xf9\xe0\xb4' -- nosy: +serhiy.storchaka ___ Python tracker

[issue24043] Implement mac_romanian and mac_croatian encodings

2015-04-24 Thread Behdad Esfahbod
Behdad Esfahbod added the comment: Very valid question. Let me ask and get back to you. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue24043] Implement mac_romanian and mac_croatian encodings

2015-04-24 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 23.04.2015 21:02, Behdad Esfahbod wrote: > > They are used in OpenType fonts, but not implemented by Python at this time. > Here's are the Unicode mappings for them: > > http://unicode.org/Public/MAPPINGS/VENDORS/APPLE/ROMANIAN.TXT > http://unicode.org

[issue24043] Implement mac_romanian and mac_croatian encodings

2015-04-23 Thread Ned Deily
Changes by Ned Deily : -- nosy: +lemburg, loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue24043] Implement mac_romanian and mac_croatian encodings

2015-04-23 Thread Behdad Esfahbod
New submission from Behdad Esfahbod: They are used in OpenType fonts, but not implemented by Python at this time. Here's are the Unicode mappings for them: http://unicode.org/Public/MAPPINGS/VENDORS/APPLE/ROMANIAN.TXT http://unicode.org/Public/MAPPINGS/VENDORS/APPLE/CROATIAN.TXT Thanks.