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


Groups > comp.lang.python > #18819

Re: UnicodeEncodeError in compile

Newsgroups comp.lang.python
Date 2012-01-11 03:27 -0800
References <9043309.329.1326169476466.JavaMail.geo-discussion-forums@yqhi24> <jegrmo$juv$1@dough.gmane.org> <mailman.4625.1326253880.27778.python-list@python.org>
Subject Re: UnicodeEncodeError in compile
From pyscripter@gmail.com
Message-ID <mailman.4640.1326281269.27778.python-list@python.org> (permalink)

Show all headers | View raw



On Wednesday, January 11, 2012 5:50:51 AM UTC+2, Terry Reedy wrote:
> On 1/10/2012 3:08 AM, Terry Reedy wrote:
> Is this a filename that could be an actual, valid filename on your system?

Yes it is. open works on that file.

> Good question. I believe this holdover from 2.x should be deleted.
> I argued that in http://bugs.python.org/issue10114
> (which was about a different problem) and now, directly, in
> http://bugs.python.org/issue13758
> 
Maybe the example of this question can be added to the issue 13785 as a proof that compile fails on valid file names.

But I think the real issue is why on modern Windows systems the file system encoding is mbcs.  Shouldn't it be utf-16?

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


Thread

UnicodeEncodeError in compile pyscripter@gmail.com - 2012-01-09 20:24 -0800
  Re: UnicodeEncodeError in compile Terry Reedy <tjreedy@udel.edu> - 2012-01-10 03:08 -0500
    Re: UnicodeEncodeError in compile jmfauth <wxjmfauth@gmail.com> - 2012-01-10 01:42 -0800
    Re: UnicodeEncodeError in compile 88888 Dihedral <dihedral88888@googlemail.com> - 2012-01-10 02:53 -0800
      Re: UnicodeEncodeError in compile jmfauth <wxjmfauth@gmail.com> - 2012-01-10 04:28 -0800
        Re: UnicodeEncodeError in compile jmfauth <wxjmfauth@gmail.com> - 2012-01-10 05:43 -0800
          Re: UnicodeEncodeError in compile Terry Reedy <tjreedy@udel.edu> - 2012-01-10 19:56 -0500
            Re: UnicodeEncodeError in compile jmfauth <wxjmfauth@gmail.com> - 2012-01-11 01:29 -0800
            Re: UnicodeEncodeError in compile jmfauth <wxjmfauth@gmail.com> - 2012-01-10 23:05 -0800
    Re: UnicodeEncodeError in compile 88888 Dihedral <dihedral88888@googlemail.com> - 2012-01-10 02:53 -0800
  Re: UnicodeEncodeError in compile pyscripter@gmail.com - 2012-01-10 02:04 -0800
  Re: UnicodeEncodeError in compile Terry Reedy <tjreedy@udel.edu> - 2012-01-10 22:50 -0500
    Re: UnicodeEncodeError in compile pyscripter@gmail.com - 2012-01-11 03:27 -0800
      Re: UnicodeEncodeError in compile Dave Angel <d@davea.name> - 2012-01-11 06:45 -0500
        Re: UnicodeEncodeError in compile pyscripter@gmail.com - 2012-01-11 04:14 -0800
        Re: UnicodeEncodeError in compile pyscripter@gmail.com - 2012-01-11 04:14 -0800
    Re: UnicodeEncodeError in compile pyscripter@gmail.com - 2012-01-11 03:27 -0800

csiph-web