Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #70844

Re: Unicode in Python

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <torriem+gmail@torriefamily.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'encoding': 0.05; 'forgive': 0.05; 'subject:Python': 0.06; 'encoded': 0.07; 'string': 0.09; 'spreading': 0.09; 'subset': 0.09; 'python': 0.11; '2.7': 0.14; 'buggy': 0.16; 'cp1252': 0.16; 'encodings': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'least.': 0.16; 'opposite': 0.16; 'problem).': 0.16; 'stuff,': 0.16; 'subject:Unicode': 0.16; 'unicode.': 0.16; 'language': 0.16; 'wrote:': 0.18; 'coding': 0.22; 'header:User-Agent:1': 0.23; 'byte': 0.24; 'bytes': 0.24; 'certainly': 0.24; 'mathematical': 0.24; 'unicode': 0.24; 'sort': 0.25; 'certain': 0.27; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; '(like': 0.30; 'characters': 0.30; 'schemes': 0.31; 'maybe': 0.34; 'problem': 0.35; "can't": 0.35; 'except': 0.35; 'tool': 0.35; 'but': 0.35; 'possible': 0.36; 'should': 0.36; 'positive': 0.37; 'wrong': 0.37; 'list': 0.37; 'being': 0.38; 'message-id:@gmail.com': 0.38; 'feed': 0.38; 'whatever': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'quote': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; "you're": 0.61; "you've": 0.63; 'email addr:gmail.com': 0.63; 'talking': 0.65; 'teach': 0.65; 'circle': 0.68; 'deeply': 0.69; 'paper': 0.75; 'coherent': 0.84; 'euro).': 0.84; 'expose': 0.84; 'endorsed': 0.93
X-Virus-Scanned amavisd-new at torriefamily.org
Date Thu, 01 May 2014 21:50:40 -0600
From Michael Torrie <torriem@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131118 Thunderbird/17.0.11
MIME-Version 1.0
To python-list@python.org
Subject Re: Unicode in Python
References <0f253434-5e7d-4eea-88e1-7997fec2bd2d@googlegroups.com> <mailman.9452.1398232238.18130.python-list@python.org> <773afa7d-4b6d-4d67-8d40-ea90b335a1a2@googlegroups.com> <5357715c$0$11109$c3e8da3@news.astraweb.com> <aa55b40a-9032-401c-a24d-1b7518ebe1e1@googlegroups.com> <03bb12d8-93be-4ef6-94ae-4a02789aea2d@googlegroups.com> <ljfo63$5lq$1@ger.gmane.org> <mailman.9518.1398519519.18130.python-list@python.org> <bcd76ee0-4703-45ed-95c3-ad0cac35a889@googlegroups.com>
In-Reply-To <bcd76ee0-4703-45ed-95c3-ad0cac35a889@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.9645.1399003680.18130.python-list@python.org> (permalink)
Lines 37
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1399003680 news.xs4all.nl 2919 [2001:888:2000:d::a6]:57214
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:70844

Show key headers only | View raw


Can't help but feed the troll... forgive me.

On 04/28/2014 02:57 AM, wxjmfauth@gmail.com wrote:
> Python 2.7 + cp1252:
> - Solid and coherent system (nothing to do with the Euro).

Except that cp1252 is not unicode.  Perhaps some subset of unicode can
be encoded into bytes using cp1252.  But if it works for you keep using
it, and stop spreading nonsense about FSR.

> Python 3:
> - Flexible String Representation (a problem per se),
> a mathematical absurditiy which does the opposite of
> the coding schemes endorsed by Unicord.org (sheet of
> paper and pencil!)
> - Very deeply buggy (quadrature of the circle problem).

Maybe it's the language barrier, but whatever it is you are talking
about, I certainly can't make out.

You've been ranting about FSR for years without being able to clearly
say what's wrong with it.  Please quote unicode specifications that you
feel Python does not implement.  What unicode characters cannot be
represented?  Does Python choke on certain unicode strings or expose
entities it should not (like Javascript does)?

Why would you think that the unicode consortium's list of byte encodings
are the only possible valid ways of encoding unicode to a byte stream?

If you're going to continue to write this sort of stuff, please have the
decency to answer these questions at least.

> Positive side:
> - A very nice tool to teach the coding of characters
> and unicode.

Indeed.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Unicode in Python Rustom Mody <rustompmody@gmail.com> - 2014-04-22 22:31 -0700
  Re: Unicode in Python Chris Angelico <rosuav@gmail.com> - 2014-04-23 15:50 +1000
    Re: Unicode in Python Rustom Mody <rustompmody@gmail.com> - 2014-04-22 23:57 -0700
      Re: Unicode in Python Chris Angelico <rosuav@gmail.com> - 2014-04-23 17:06 +1000
      Re: Unicode in Python Steven D'Aprano <steve@pearwood.info> - 2014-04-23 07:29 +0000
      Re: Unicode in Python Steven D'Aprano <steve@pearwood.info> - 2014-04-23 07:53 +0000
        Re: Unicode in Python Rustom Mody <rustompmody@gmail.com> - 2014-04-23 10:59 -0700
          Re: Unicode in Python wxjmfauth@gmail.com - 2014-04-26 00:15 -0700
            Re: Unicode in Python "Frank Millman" <frank@chagford.com> - 2014-04-26 09:45 +0200
            Re: Unicode in Python Ben Finney <ben@benfinney.id.au> - 2014-04-26 17:50 +1000
            Re: Unicode in Python Ian Kelly <ian.g.kelly@gmail.com> - 2014-04-26 09:38 -0400
              Re: Unicode in Python wxjmfauth@gmail.com - 2014-04-27 07:29 -0700
              Re: Unicode in Python wxjmfauth@gmail.com - 2014-04-28 01:57 -0700
                Re: Unicode in Python random832@fastmail.us - 2014-05-01 13:21 -0400
                Re: Unicode in Python wxjmfauth@gmail.com - 2014-05-07 23:04 -0700
                Re: Unicode in Python Michael Torrie <torriem@gmail.com> - 2014-05-01 21:50 -0600
                Re: Unicode in Python wxjmfauth@gmail.com - 2014-05-03 00:46 -0700
          Re: Unicode in Python Rustom Mody <rustompmody@gmail.com> - 2014-04-27 10:39 -0700
  Re: Unicode in Python Steven D'Aprano <steve@pearwood.info> - 2014-04-23 05:52 +0000
    Re: Unicode in Python Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-04-22 23:19 -0700
    Re: Unicode in Python Ben Finney <ben@benfinney.id.au> - 2014-04-23 16:41 +1000

csiph-web