Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #19243
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <torriem@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.013 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'bug': 0.02; 'only,': 0.07; 'python': 0.08; 'subject:windows': 0.09; 'utf-8': 0.09; 'files.': 0.09; '*only*': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'hall\xc3\xa9n': 0.16; 'identifiers': 0.16; 'jacob': 0.16; 'wrote:': 0.16; 'linux': 0.17; 'problem?': 0.18; 'stick': 0.18; 'jan': 0.19; 'appears': 0.19; 'programming': 0.20; 'maybe': 0.21; 'header:In-Reply-To:1': 0.22; "python's": 0.24; 'windows': 0.26; 'pm,': 0.26; 'import': 0.27; 'looks': 0.27; "i'm": 0.27; 'fine.': 0.28; 'unicode': 0.28; 'problem': 0.29; 'environment': 0.30; 'handling': 0.30; '22,': 0.30; 'sleep': 0.30; 'subject:skip:i 10': 0.30; 'least': 0.30; 'error': 0.30; "i've": 0.31; 'sort': 0.32; 'message- id:@gmail.com': 0.33; 'header:User-Agent:1': 0.33; 'to:addr :python-list': 0.33; 'character': 0.34; 'realize': 0.34; 'anything': 0.34; 'root': 0.34; 'running': 0.35; 'sets': 0.35; 'test': 0.35; 'issue': 0.35; 'similar': 0.36; 'encoding': 0.36; 'two': 0.37; 'but': 0.37; 'received:org': 0.37; 'another': 0.37; 'could': 0.37; 'some': 0.38; 'room': 0.38; 'problems': 0.38; 'subject:with': 0.38; 'received:192': 0.38; 'should': 0.38; 'that.': 0.39; 'being': 0.39; 'johnson': 0.39; 'files': 0.39; 'sense': 0.39; 'subject:: ': 0.39; 'to:addr:python.org': 0.40; 'your': 0.61; 'forced': 0.67; 'limit': 0.67; 'strange': 0.68; 'dealing': 0.68; 'buy': 0.69; 'russian': 0.77; '01:52': 0.84; 'entertaining': 0.84; 'discount': 0.92; 'latin': 0.93 |
| X-Virus-Scanned | amavisd-new at torriefamily.org |
| Date | Sun, 22 Jan 2012 17:47:42 -0700 |
| From | Michael Torrie <torriem@gmail.com> |
| User-Agent | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.16 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Trouble with internationalized path under windows |
| References | <mailman.4937.1327263349.27778.python-list@python.org> <fd873a9e-2a7f-478d-992d-fbdc989b1ab0@o9g2000yqa.googlegroups.com> |
| In-Reply-To | <fd873a9e-2a7f-478d-992d-fbdc989b1ab0@o9g2000yqa.googlegroups.com> |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4947.1327279669.27778.python-list@python.org> (permalink) |
| Lines | 34 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1327279669 news.xs4all.nl 6852 [2001:888:2000:d::a6]:36066 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:19243 |
Show key headers only | View raw
On 01/22/2012 01:52 PM, Rick Johnson wrote: > On Jan 22, 2:08 pm, Jacob Hallén <jacob.hal...@sotospeak.se> wrote: > >> If I store these two files in say C:\Users\Admin\test everything works fine. >> >> If I store them in C:\Users\Admin\testф, I get an import error when running >> foo.py. The letter at the end of test is a Russian "F", if it looks strange on >> your terminal. > > If *only* i had a penny for every problem that Unicode caused... maybe > i could i buy a 76,000 sqft mansion, because, people should not be > forced to sleep in the same room twice! > > Unicode is just another Utopian nightmare. When will the lemmings > realize that character encoding IS NOT the root of the problem? You > will NEVER find the holy grail of encodings that will solve the > collaborative issue because the PROBLEM is multiplicity! Self induced! Um, face palm. I'm so embarrassed for you Rick. The problem appears not be with programming or handling character sets or anything like that. Then you go on to say let's stick to English? Just wow. At least you are being entertaining for now. I once argued to limit Python identifiers to latin letters only, but at least that made some sort of sense (lowest-common denominator) and it had nothing to do with running in an internationalized environment or dealing with unicode or utf-8 -encoded text files. The OP's problem definitely sounds like a Python bug on Windows to me. I've never had similar problems on other internationalized OS's like Linux or OS X. How can you be Python's savior when you want to discount out of hand at least have of Python's users?
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Trouble with internationalized path under windows Jacob Hallén <jacob.hallen@sotospeak.se> - 2012-01-22 21:08 +0100
Re: Trouble with internationalized path under windows Rick Johnson <rantingrickjohnson@gmail.com> - 2012-01-22 12:52 -0800
Re: Trouble with internationalized path under windows Michael Torrie <torriem@gmail.com> - 2012-01-22 17:47 -0700
Re: Trouble with internationalized path under windows Rick Johnson <rantingrickjohnson@gmail.com> - 2012-01-22 17:49 -0800
Re: Trouble with internationalized path under windows Chris Angelico <rosuav@gmail.com> - 2012-01-23 19:17 +1100
csiph-web