Re: [Tutor] Unicode in List Object

2007-03-26 Thread Tim Golden
Roman Kreuzhuber wrote: > Thanks for the quick response! > I see! Oh I didn't realize that it's not the list which raises an error. > For a test I tried to insert a string containing a unicode character as > follows: > > ListObject = [] > ListObject.insert(0,u"Möälasdji") By the way, aside from

Re: [Tutor] Unicode in List Object

2007-03-26 Thread Tim Golden
Andre Engels wrote: > 2007/3/26, Roman Kreuzhuber <[EMAIL PROTECTED]>: >> >> Thanks for the quick response! >> I see! Oh I didn't realize that it's not the list which raises an error. >> For a test I tried to insert a string containing a unicode character as >> follows: >> >> ListObject = [] >> Lis

Re: [Tutor] Unicode in List Object

2007-03-26 Thread Kent Johnson
Roman Kreuzhuber wrote: > Thanks for the quick response! > I see! Oh I didn't realize that it's not the list which raises an error. > For a test I tried to insert a string containing a unicode character as > follows: > > ListObject = [] > ListObject.insert(0,u"Möälasdji") > > which raises: "Synt

Re: [Tutor] Unicode in List Object

2007-03-26 Thread Andre Engels
2007/3/26, Roman Kreuzhuber <[EMAIL PROTECTED]>: Thanks for the quick response! I see! Oh I didn't realize that it's not the list which raises an error. For a test I tried to insert a string containing a unicode character as follows: ListObject = [] ListObject.insert(0,u"Möälasdji") which rais

Re: [Tutor] Unicode in List Object

2007-03-26 Thread Roman Kreuzhuber
o: Roman Kreuzhuber <[EMAIL PROTECTED]> >CC: tutor@python.org >Subject: Re: [Tutor] Unicode in List Object >Date: Mon, 26 Mar 2007 14:38:00 +0100 > >Roman Kreuzhuber wrote: > >>I want to store multiple inputs from text fields in a list-object, which >>works as a very

Re: [Tutor] Unicode in List Object

2007-03-26 Thread Tim Golden
Roman Kreuzhuber wrote: > I want to store multiple inputs from text fields in a list-object, which > works as a very small databank. The problem is that this data will contain > unicode characters I'm not sure why you think this is a problem. A Python list can hold anything, including unicode