A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-April/003226.html below:

[Python-Dev] Unicode as argument for 8-bit format strings

[Python-Dev] Unicode as argument for 8-bit format strings [Python-Dev] Unicode as argument for 8-bit format stringsFred L. Drake, Jr. fdrake@acm.org
Fri, 7 Apr 2000 10:53:43 -0400 (EDT)
M.-A. Lemburg writes:
 > No problem... :-) Its a simple fix: once %s in an 8-bit string
 > sees a Unicode object it will stop processing the string and
 > restart using the unicode formatting algorithm. 
 > 
 > This will cost performance, of course. Optimization is easy though:
 > add a small "u" in front of the string ;-)

  Seems reasonable to me!


  -Fred

--
Fred L. Drake, Jr.	  <fdrake at acm.org>
Corporation for National Research Initiatives




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