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/2000-July/005452.html below:

[Python-Dev] Docs for string methods ?

[Python-Dev] Docs for string methods ? [Python-Dev] Docs for string methods ?M.-A. Lemburg mal@lemburg.com
Wed, 05 Jul 2000 12:06:21 +0200
Fredrik Lundh wrote:
> 
> mal wrote:
> > I've just checked in new string methods
> 
> talking about string methods: how about providing an
> "encode" method for 8-bit strings too?

I've tossed that idea around a few times too... it could
have the same interface as the Unicode one (without default
encoding though). The only problem is that there are currently
no codecs which could deal with strings on input.

String codecs would have to be of the form 'latin1_utf8', that is,
have implicit knowledge about the input encoding (and not
only the output encoding as with Unicode codecs).

-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/



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