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/001398.html below:

UTF-8 in source code (Re: [Python-Dev] Internationalization Toolkit)

UTF-8 in source code (Re: [Python-Dev] Internationalization Toolkit) UTF-8 in source code (Re: [Python-Dev] Internationalization Toolkit)Guido van Rossum guido@CNRI.Reston.VA.US
Thu, 18 Nov 1999 13:50:20 -0500
> > Like Java, it interprets \u.... when the number of backslashes is odd,
> > but not when it's even.  So \\u.... returns exactly that, while
> > \\\u.... returns two backslashes and a unicode character.
> > 
> > This is nice and can be done regardless of whether we are going to
> > interpret other \ escapes or not.
> 
> So I'll take that as: this is what we want in Python too :-)

I'll reserve judgement until we've got some experience with it in the
field, but it seems the best compromise.  It also gives a clear
explanation about why we have \uXXXX when we already have \xXXXX.

--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