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/2002-January/019096.html below:

[Python-Dev] Unicode support in getargs.c

[Python-Dev] Unicode support in getargs.c [Python-Dev] Unicode support in getargs.cMartin v. Loewis martin@v.loewis.de
Wed, 2 Jan 2002 20:20:38 +0100
> That's because the buffer interface on Unicode objects doesn't
> return the raw binary buffer. If you pass in a memory mapped
> file or a buffer object wrapping some memory area, u# will
> take the input as raw binary stream.
> 
> All this weird behaviour is needed to make Unicode objects
> behave well together with s#.

I don't believe this. Why would the implementation of u# have any
effect on making s# work?

> Jack will probably also need a way to say "decode this encoded
> object into Unicode using the encoding xyz". Something like the
> Unicode version of "es#". How about "eu#" which then passes through
> Unicode as-is while decoding all other objects according to the
> given encoding ?!

I'd like to see the requirements, in terms of real-world problems,
before considering any extensions.

Regards,
Martin



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