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/1999-November/001305.html below:

[Python-Dev] just say no...

[Python-Dev] just say no... [Python-Dev] just say no...Guido van Rossum guido@CNRI.Reston.VA.US
Tue, 16 Nov 1999 09:43:07 -0500
> FYI, the next version of the proposal now says "s#" gives you
> UTF-16 and "t#" returns UTF-8. File objects opened in text mode
> will use "t#" and binary ones use "s#".

Good.

> I'll just use explicit u.encode('utf-8') calls if I want to write
> UTF-8 to binary files -- perhaps everyone else should too ;-)

You could write UTF-8 to files opened in text mode too; at least most
actual systems will leave the UTF-8 escapes alone and just to LF ->
CRLF translation, which should be fine.

--Guido van Rossum (home page: http://www.python.org/~guido/)




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