Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #100027
| Path | csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | "D'Arcy J.M. Cain" <darcy@VybeNetworks.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Unicode failure |
| Date | Fri, 4 Dec 2015 23:15:47 -0500 |
| Organization | Vybe Networks Inc. |
| Lines | 14 |
| Message-ID | <mailman.217.1449288952.14615.python-list@python.org> (permalink) |
| References | <20151204130738.76313c43@imp> <DUB123-W222A8A672DE154DB8D99C9830C0@phx.gbl> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=US-ASCII |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.uni-berlin.de 04ecgls7wZohW9f+NnmQcwDMWO1D+AtAiqZllK5jPukQ== |
| Return-Path | <darcy@VybeNetworks.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.019 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:Unicode': 0.16; 'wrote:': 0.16; 'string,': 0.18; '>>>': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; '2.x': 0.22; 'cc:no real name:2**0': 0.22; 'seems': 0.23; 'dec': 0.23; 'header:In-Reply-To:1': 0.24; '+0000': 0.27; 'fri,': 0.27; 'raw': 0.27; 'skip:u 20': 0.28; 'unicode': 0.35; 'but': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'mark': 0.40; 'received:98.158': 0.84; 'to:addr:hotmail.com': 0.98 |
| In-Reply-To | <DUB123-W222A8A672DE154DB8D99C9830C0@phx.gbl> |
| X-Mailer | Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| 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> |
| Xref | csiph.com comp.lang.python:100027 |
Show key headers only | View raw
On Fri, 4 Dec 2015 22:49:49 +0000 Albert-Jan Roskam <sjeik_appie@hotmail.com> wrote: > I think you need to use a raw unicode string, ur > > >>> unicodedata.name(ur'\u2122') > 'TRADE MARK SIGN' That seems to work in 2.x but not 3.x. -- D'Arcy J.M. Cain Vybe Networks Inc. http://www.VybeNetworks.com/ IM:darcy@Vex.Net VoIP: sip:darcy@VybeNetworks.com
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Unicode failure "D'Arcy J.M. Cain" <darcy@VybeNetworks.com> - 2015-12-04 23:15 -0500
csiph-web