Re: Thanks for all responses

2011-06-01 Thread Chris Angelico
On Thu, Jun 2, 2011 at 3:29 AM, Wolfgang Meiners wrote: > Yes it helped a lot. One last question here: When i have free choice and > i dont know Python 2 and Python 3 very good: What would be the > recommended choice? Generally, Python 3. Unless there's something you really need in Python 2 (a mo

Re: Thanks for all responses

2011-06-01 Thread Wolfgang Meiners
Am 31.05.11 23:56, schrieb Chris Angelico: > On Wed, Jun 1, 2011 at 5:52 AM, Wolfgang Meiners > wrote: >> Whenever i 'cross the border' of my program, i have to encode the 'list >> of bytes' to an unicode string or decode the unicode string to a 'list >> of bytes' which is meaningful to the world

Re: Thanks for all responses

2011-05-31 Thread Chris Angelico
On Wed, Jun 1, 2011 at 5:52 AM, Wolfgang Meiners wrote: > Whenever i 'cross the border' of my program, i have to encode the 'list > of bytes' to an unicode string or decode the unicode string to a 'list > of bytes' which is meaningful to the world outside. Most people use "encode" and "decode" th

Thanks for all responses

2011-05-31 Thread Wolfgang Meiners
I think it helped me very much to understand the problem. So if i deal with nonascii strings, i have a 'list of bytes' and need an encoding to interpret this list and transform it to a meaningful unicode string. Decoding does the opposite. Whenever i 'cross the border' of my program, i have to en