On Sat, Feb 1, 2014 at 7:51 PM, Terry Reedy wrote:
> I should have added 'to C itself', as the string terminator.
Oh, right. Yes, in that sense \0 is special. It's still wrong that an
incoming text string gets interpreted as code, but that's probably
just a consequence of the jump from Python to
On 2/1/2014 2:26 AM, Chris Angelico wrote:
On Sat, Feb 1, 2014 at 4:46 PM, Terry Reedy wrote:
On 1/31/2014 10:36 PM, Chris Angelico wrote:
On Sat, Feb 1, 2014 at 1:54 PM, MRAB wrote:
I think that some years ago I heard about a variation on UTF-8
(Microsoft?) where codepoint U+ is encod
On Sat, Feb 1, 2014 at 4:46 PM, Terry Reedy wrote:
> On 1/31/2014 10:36 PM, Chris Angelico wrote:
>>
>> On Sat, Feb 1, 2014 at 1:54 PM, MRAB wrote:
>>>
>>> I think that some years ago I heard about a variation on UTF-8
>>> (Microsoft?) where codepoint U+ is encoded as 0xC0 0x80 so that the
>>
On 1/31/2014 10:36 PM, Chris Angelico wrote:
On Sat, Feb 1, 2014 at 1:54 PM, MRAB wrote:
I think that some years ago I heard about a variation on UTF-8
(Microsoft?) where codepoint U+ is encoded as 0xC0 0x80 so that the
null byte can be used as the string terminator.
I had a look on Wikipe
On 1/31/2014 8:52 PM, Chris Angelico wrote:
On Sat, Feb 1, 2014 at 12:45 PM, Terry Reedy wrote:
H:\HP_Documents\0PythonWork\AirplaneKinematics\accel2.py
caused this message
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 14:
invalid start byte
So... something's interpreti
On Sat, Feb 1, 2014 at 1:54 PM, MRAB wrote:
> I think that some years ago I heard about a variation on UTF-8
> (Microsoft?) where codepoint U+ is encoded as 0xC0 0x80 so that the
> null byte can be used as the string terminator.
>
> I had a look on Wikipedia found this:
>
> http://en.wikipedia
On 2014-02-01 01:52, Chris Angelico wrote:
On Sat, Feb 1, 2014 at 12:45 PM, Terry Reedy wrote:
H:\HP_Documents\0PythonWork\AirplaneKinematics\accel2.py
caused this message
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 14:
invalid start byte
So... something's interpretin
On Sat, Feb 1, 2014 at 12:45 PM, Terry Reedy wrote:
> H:\HP_Documents\0PythonWork\AirplaneKinematics\accel2.py
> caused this message
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 14:
> invalid start byte
So... something's interpreting \0 as codepoint U+ (which it
shou
On 1/31/2014 2:51 PM, Peter Otten wrote:
rpuc...@cox.net wrote:
Python 3.3.3 (v3.3.3:c3896275c0f6, Nov 18 2013, 21:18:40) [MSC v.1600 32
bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more
information.
import idlelib.idle
Exception in Tkinter callback
Traceback (most rec
rpuc...@cox.net wrote:
> Python 3.3.3 (v3.3.3:c3896275c0f6, Nov 18 2013, 21:18:40) [MSC v.1600 32
> bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more
> information.
import idlelib.idle
> Exception in Tkinter callback
> Traceback (most recent call last):
> File "C:\Py
Python 3.3.3 (v3.3.3:c3896275c0f6, Nov 18 2013, 21:18:40) [MSC v.1600 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> import idlelib.idle
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python33\lib\tkinter\__init__.py", lin
11 matches
Mail list logo