[Python-Dev] Reject characters bigger than U+10FFFF and Solaris issues (original) (raw)
Stefan Krah stefan at bytereef.org
Thu Dec 8 14:42:11 CET 2011
- Previous message: [Python-Dev] Reject characters bigger than U+10FFFF and Solaris issues
- Next message: [Python-Dev] readd u'' literal support in 3.3?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Victor Stinner <victor.stinner at haypocalc.com> wrote:
The problem is not directly in the C localeconv() function, but in mbstowcs() with the huHU locale.
Ah, I see.
You can try my test program for this issue: http://bugs.python.org/file23876/localeconvwchar.c
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.
Stefan Krah
- Previous message: [Python-Dev] Reject characters bigger than U+10FFFF and Solaris issues
- Next message: [Python-Dev] readd u'' literal support in 3.3?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]