Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!solaris.cc.vt.edu!news.vt.edu!newsfeed-00.mathworks.com!panix!roy From: Roy Smith Newsgroups: comp.lang.python Subject: Re: How do I display unicode value stored in a string variable using ord() Date: Mon, 20 Aug 2012 00:44:22 -0400 Organization: PANIX Public Access Internet and UNIX, NYC Lines: 15 Message-ID: References: <308df2af-abe7-4043-b199-0a39f440e0ab@googlegroups.com> <502f8a2a$0$29978$c3e8da3$5496439d@news.astraweb.com> <7xehn4vyya.fsf@ruckus.brouhaha.com> <5030832d$0$29978$c3e8da3$5496439d@news.astraweb.com> <7x8vdbmho6.fsf@ruckus.brouhaha.com> <5031bb2f$0$29972$c3e8da3$5496439d@news.astraweb.com> NNTP-Posting-Host: localhost X-Trace: reader1.panix.com 1345437863 18672 127.0.0.1 (20 Aug 2012 04:44:23 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Mon, 20 Aug 2012 04:44:23 +0000 (UTC) User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Xref: csiph.com comp.lang.python:27460 In article <5031bb2f$0$29972$c3e8da3$5496439d@news.astraweb.com>, Steven D'Aprano wrote: > > So it may be with utf-8 someday. > > Only if you believe that people's ability to generate data will remain > lower than people's ability to install more storage. We're not talking *data*, we're talking *text*. Most of those whatever-bytes people are generating are images, video, and music. Text is a pittance compared to those. In any case, text on disk can easily be stored compressed. I would expect the UTF-8 and UTF-32 versions of a text file to compress to just about the same size.