Re: Is the Python binding for ncurses unicode capable?
- From: "Martin v. Löwis" <martin@xxxxxxxxxxx>
- Date: Fri, 20 Jan 2006 07:06:28 +0100
Thomas Dickey wrote:
>>ncurses expects byte strings (although I'm uncertain as to what
>>impact multi-byte encodings have in ncurses).
>
>
> It depends on whether python's curses binding is linked with the wide-character
> flavor (ncursesw) or the normal one. If it's linked with ncursesw, strings are
> interpreted according to the locale settings.
Are you sure? According to ncurses' INSTALL file, the purpose of
ncursesw is to provide wide character support, not locale support.
It's two libraries just for binary compatibility issues.
Regards,
Martin
.
- Follow-Ups:
- Re: Is the Python binding for ncurses unicode capable?
- From: Thomas Dickey
- Re: Is the Python binding for ncurses unicode capable?
- References:
- Re: Is the Python binding for ncurses unicode capable?
- From: "Martin v. Löwis"
- Re: Is the Python binding for ncurses unicode capable?
- From: Thomas Dickey
- Re: Is the Python binding for ncurses unicode capable?
- Prev by Date: Re: How to set a wx.textctrl can editable or readonly?
- Next by Date: Re: Multiple modules with database access + general app design?
- Previous by thread: Re: Is the Python binding for ncurses unicode capable?
- Next by thread: Re: Is the Python binding for ncurses unicode capable?
- Index(es):