[Python-Dev] Reject characters bigger than U+10FFFF and Solaris issues
stefan at bytereef.org
Thu Dec 8 14:42:11 CET 2011
Victor Stinner <victor.stinner at haypocalc.com> wrote:
> The problem is not directly in the C localeconv() function, but in
> mbstowcs() with the hu_HU locale.
Ah, I see.
> You can try my test program for this issue:
Can't test on OpenSolaris, since Oracle removed the package repo and
I need the ISO locales.
> Stefan: would you accept that locale.localeconv() and locale.strxfrm()
> stop working (instead of returning invalid data) on Solaris in certains
> cases (it looks like the issue depends on the locale and the OS
> version)? It can be a motivation to fix the root of the issue ;-)
Yes, if the cause is a broken mbstowcs() that sounds good.
More information about the Python-Dev