RE: About size of Unicode string

2005-06-06 Thread Frank Abel Cancio Bello
rg > Subject: Re: About size of Unicode string > > Frank Abel Cancio Bello wrote: > > request.add_header('content-encoding', 'UTF-8') > > The Content-Encoding header is for things like "gzip", not for > specifying the text encoding. Use the

RE: About size of Unicode string

2005-06-06 Thread Frank Abel Cancio Bello
rue that "the size of the entity-body" is "len(data)" independently of the encoding of "data"? > -Original Message- > From: Laszlo Zsolt Nagy [mailto:[EMAIL PROTECTED] > Sent: Monday, June 06, 2005 1:43 PM > To: Frank Abel Cancio Bello; python-list@p

About size of Unicode string

2005-06-06 Thread Frank Abel Cancio Bello
Hi all! I need know the size of string object independently of its encoding. For example: len('123') == len('123'.encode('utf_8')) while the size of '123' object is different of the size of '123'.encode('utf_8') More: I need send in HTTP request a string. Then I need know the length of

Re: get textual content of a Xml element using 4DOM

2005-03-04 Thread Frank Abel Cancio Bello
Hi: PrettyPrint or Print return the value to the console, and i need keep this value in a string variable to work with it, how can i do this? thanks to Uche Frank Abel -Original Message- From: [EMAIL PROTECTED] To: python-list@python.org Date: 4 Mar 2005 09:23:07 -0800 Subject: Re: get

About standard library improvement

2005-02-03 Thread Frank Abel Cancio Bello
Hi! If I make some improvement to xmlrpclib module, where I should send this improvement to form part of next standard library release? Thank -- http://mail.python.org/mailman/listinfo/python-list