A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-June/015297.html below:

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

[Python-Dev] Shouldn't I be able to print Unicode objects? [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



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4