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


Groups > comp.lang.python > #56482

Re: Encoding of surrogate code points to UTF-8

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <nedbat@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.021
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'encoding': 0.05; 'encoded': 0.07; 'subject:code': 0.07; 'url:unicode': 0.09; 'cc:addr:python-list': 0.11; '"in': 0.16; 'subject:UTF': 0.16; '\xe9crit': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; '>>>': 0.22; 'coding': 0.22; 'cc:addr:python.org': 0.22; 'header :User-Agent:1': 0.23; 'unicode': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; '(like': 0.30; 'characters': 0.30; "d'aprano": 0.31; 'schemes': 0.31; 'steven': 0.31; 'received:google.com': 0.35; 'url:org': 0.36; 'should': 0.36; 'too': 0.37; 'two': 0.37; 'loss': 0.38; 'represent': 0.38; 'does': 0.39; 'full': 0.61; 'range': 0.61; 'email addr:gmail.com': 0.63; 'to:addr:gmail.com': 0.65; 'url:0': 0.67; 'obvious': 0.74; 'exclusive': 0.81; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=kYSu6u8lasbvUNAVF6rX9k8wBcTq0udCYmYVa2uofOc=; b=XTqJpImhL5VxFJdlL5J0yqJO585FyYlfBcxn5Ka9IEDyy+nSi3VI5Zi8wE6Lx5tuHO hO4bOrV4B/eUNLWiO75XCsdge70xkunlOZ40XtNvWv9/p1HeGp9ZbkOxlFEVMBr00VGb T3sFtK4xbrcCTKtdkOzKsnSagq//C9S7k36yskALLSoLKgTJWAaFAE7XxQJ5ixYsGbf6 LDP0OQAzODq32inyrAwLCYcNJE0egFZxZTviIn1xiclE10c5OWwbiAl4l5qanRiCj7iN JdnmBePhVsPU0axGkShJ1JDAZXcXPBUE/5OKYjc6X8MOZeX1gaGtzo4kKDtvc09VaEhD 3GZA==
X-Received by 10.49.110.36 with SMTP id hx4mr929216qeb.93.1381314141696; Wed, 09 Oct 2013 03:22:21 -0700 (PDT)
Sender Ned Batchelder <nedbat@gmail.com>
Date Wed, 09 Oct 2013 06:22:20 -0400
From Ned Batchelder <ned@nedbatchelder.com>
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version 1.0
To wxjmfauth@gmail.com
Subject Re: Encoding of surrogate code points to UTF-8
References <52540e03$0$29984$c3e8da3$5496439d@news.astraweb.com> <bbilqpF6ep5U1@mid.individual.net> <52548791$0$29984$c3e8da3$5496439d@news.astraweb.com> <mailman.883.1381282120.18130.python-list@python.org> <5254f594$0$29976$c3e8da3$5496439d@news.astraweb.com> <4b728b1a-cc37-4541-80a2-68335f1d5e5f@googlegroups.com>
In-Reply-To <4b728b1a-cc37-4541-80a2-68335f1d5e5f@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 8bit
Cc python-list@python.org
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.892.1381314149.18130.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1381314149 news.xs4all.nl 15986 [2001:888:2000:d::a6]:33397
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:56482

Show key headers only | View raw


On 10/9/13 4:22 AM, wxjmfauth@gmail.com wrote:
> Le mercredi 9 octobre 2013 08:20:05 UTC+2, Steven D'Aprano a écrit :
>>
>>> http://www.unicode.org/versions/Unicode6.2.0/ch02.pdf#G13708 "All three
>>> encoding forms can be used to represent the full range of encoded
>>> characters in the Unicode Standard; ... Each of the three Unicode
>>> encoding forms can be efficiently transformed into eith er of the other
>>> two without any loss of data."
>>
> Yes,
>
> and what Unicode.org does not say is that these coding
> schemes (like any coding scheme) should be used in an
> exclusive way.

Can you clarify what you mean by "in an exclusive way"?

--Ned.

> Probably, because it is too obvious to understand.
>
> jmf
>
>

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


Thread

Encoding of surrogate code points to UTF-8 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-10-08 13:52 +0000
  Re: Encoding of surrogate code points to UTF-8 Neil Cerutti <neilc@norwich.edu> - 2013-10-08 15:14 +0000
    Re: Encoding of surrogate code points to UTF-8 Neil Cerutti <neilc@norwich.edu> - 2013-10-08 15:54 +0000
    Re: Encoding of surrogate code points to UTF-8 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-10-08 22:30 +0000
      Re: Encoding of surrogate code points to UTF-8 Terry Reedy <tjreedy@udel.edu> - 2013-10-08 21:28 -0400
        Re: Encoding of surrogate code points to UTF-8 Steven D'Aprano <steve@pearwood.info> - 2013-10-09 06:20 +0000
          Re: Encoding of surrogate code points to UTF-8 wxjmfauth@gmail.com - 2013-10-09 01:22 -0700
            Re: Encoding of surrogate code points to UTF-8 Ned Batchelder <ned@nedbatchelder.com> - 2013-10-09 06:22 -0400
              Re: Encoding of surrogate code points to UTF-8 Neil Cerutti <neilc@norwich.edu> - 2013-10-09 12:55 +0000
  Re: Encoding of surrogate code points to UTF-8 Pete Forman <petef4+usenet@gmail.com> - 2013-10-08 16:23 +0100
    Re: Encoding of surrogate code points to UTF-8 MRAB <python@mrabarnett.plus.com> - 2013-10-08 18:00 +0100
      Re: Encoding of surrogate code points to UTF-8 wxjmfauth@gmail.com - 2013-10-08 11:24 -0700
      Re: Encoding of surrogate code points to UTF-8 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-10-08 22:20 +0000
  Re: Encoding of surrogate code points to UTF-8 Terry Reedy <tjreedy@udel.edu> - 2013-10-08 17:47 -0400
  Re: Encoding of surrogate code points to UTF-8 Terry Reedy <tjreedy@udel.edu> - 2013-10-08 18:17 -0400

csiph-web