[Python-Dev] Shouldn't I be able to print Unicode objects?

Paul Prescod paulp@ActiveState.com
Wed, 06 Jun 2001 12:00:07 -0700


Skip Montanaro wrote:
> 
>...
> 
> Okay, I found the encoding section.  I changed the encoding variable
> 
> assignment to be
> 
>     encoding = "latin1"

Danger, Will Robinson! You can now write software that will work great
on your version of Python and will crash on everyone else's. You haven't
just changed the behavior of "print" but of EVERY attempted automatic
coercion from Unicode to an 8-bit string.

-- 
Take a recipe. Leave a recipe.  
Python Cookbook!  http://www.ActiveState.com/pythoncookbook