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/2004-August/048268.html below:

[Python-Dev] Decoding incomplete unicode

[Python-Dev] Decoding incomplete unicode [Python-Dev] Decoding incomplete unicodeWalter Dörwald walter at livinglogic.de
Mon Aug 23 22:41:55 CEST 2004
Martin v. Löwis wrote:

> Walter Dörwald wrote:
> 
>> Both approaches have one problem: Error handling won't
>> work for them. If the error handling is "replace", the decoder
>> should return U+FFFD for the final trailing incomplete sequence
>> in read(). This won't happen when read() never reads those
>> bytes from the input stream.
> 
> Ok. So it really looks like a final flag on read is necessary.
> 
>> Well, I had to choose a subject. ;)
> 
> I still would prefer if the two issues were discussed separately.

OK, let's come up with a patch that fixes the incomplete byte
sequences problem and then discuss non-stream APIs.

So, what should the next step be?

Bye,
    Walter Dörwald


More information about the Python-Dev mailing list

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