* Thomas Dickey <[EMAIL PROTECTED]> [2005-05-26 18:21]:
> It's compatible - but bear in mind that strings, e.g., as passed to
> addstr() are interpreted based on locale.

What negative effects could that have?  Are you thinking of control
characters or anything like that?

Or do you simply mean that giving an UTF-8 byte string to addstr()
is not a terribly good idea if we're not in an UTF-8 locale?  I guess
the proper solution would be for the Python bindings to accept Unicode
strings and then just decode them to whatever locale the user has
(replacing characters that are not available with '?' or so).

> That's a start - but there may be some work needed in Python, e.g.,
> to ensure that it doesn't make assumptions about the data that interfere
> with locale.
> 
> The scripts may also have stuff hardcoded - I don't know (will probably
> take a look on the weekend).

That would be great.  Thanks.
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to