Re: [Python-3000] [Python-Dev] Filename as byte string in python 2.6 or 3.0?

2008-10-03 Thread Jim Jewett
On Wed, Oct 1, 2008 at 10:36 AM, Antoine Pitrou <[EMAIL PROTECTED]> wrote: > The average user does not even /know/ what a charset is. Because for the average user, there is no need. Part of the HTML5 standard is how to guess at charsets, and when to automatically use a superset instead of the de

Re: [Python-3000] [Python-Dev] Filename as byte string in python 2.6 or 3.0?

2008-10-03 Thread James Y Knight
On Oct 3, 2008, at 3:24 PM, Glenn Linderman wrote: In order to work, the actual name must be preserved, or if translated, must be a reversible, 1-to-1 translation. A lot of discussion here has talked about reversible translations, but haven't noted the requirement that it be 1-to-1... and i

Re: [Python-3000] [Python-Dev] Filename as byte string in python 2.6 or 3.0?

2008-10-03 Thread Marcin 'Qrczak' Kowalczyk
2008/10/3 Glenn Linderman <[EMAIL PROTECTED]>: > My understanding of the Posix file names is that any byte values are valid > except "/" and null. Is this a correct understanding? Yes (well, names "." and ".." are reserved, and there might be length restrictions). > The UTF-8b proposal seems to

Re: [Python-3000] [Python-Dev] Filename as byte string in python 2.6 or 3.0?

2008-10-03 Thread Adam Olsen
On Fri, Oct 3, 2008 at 3:05 PM, Glenn Linderman <[EMAIL PROTECTED]> wrote: > On approximately 10/3/2008 12:53 PM, came the following characters from the > keyboard of James Y Knight: >> >> On Oct 3, 2008, at 3:24 PM, Glenn Linderman wrote: >>> >>> In order to work, the actual name must be preserved

Re: [Python-3000] [Python-Dev] Filename as byte string in python 2.6 or 3.0?

2008-10-03 Thread Adam Olsen
On Fri, Oct 3, 2008 at 5:02 PM, Glenn Linderman <[EMAIL PROTECTED]> wrote: > On approximately 10/3/2008 2:36 PM, came the following characters from the > keyboard of Adam Olsen: >> >> UTF-8b produces an *invalid* unicode sequence, via lone scalars. Any >> attempt to encode or decode using a valida

Re: [Python-3000] [Python-Dev] Filename as byte string in python 2.6 or 3.0?

2008-10-03 Thread Adam Olsen
On Fri, Oct 3, 2008 at 10:14 PM, Glenn Linderman <[EMAIL PROTECTED]> wrote: > On approximately 10/3/2008 4:54 PM, came the following characters from the > keyboard of Adam Olsen: >> On Fri, Oct 3, 2008 at 5:02 PM, Glenn Linderman <[EMAIL PROTECTED]> >> wrote: > > OK, so UTF-8b is not Unicode, eithe