Am 04.03.2011 03:21, schrieb Dan Stromberg:
> 
> On Thu, Mar 3, 2011 at 3:46 PM, Martin v. Loewis <mar...@v.loewis.de
> <mailto:mar...@v.loewis.de>> wrote:
> 
>     That depends on how you chose to represent text in 2.7.
>     The recommended way for that (also with 3.x in mind)
>     is that you should use Unicode strings to represent text.
> 
> 
> For application programming, I'm sure Unicode is usually preferable.
> 
> For systems programming, it's hard for me to imagine that unicode would
> normally be favored over bytes.

I think Greg Ewing was really talking about WxPython. For WxPython,
I would indeed recommend to represent text as Unicode, although
there may be backwards-compatibility concerns to support byte strings
in certain places as well.

Whether a GUI library is application programming or systems programming,
I don't know.

Regards,
Martin

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to