Content-Type: text/html; charset=utf-8lias
For Python to parse this, I had to use Python's list of known encodings
in order to determine whether I could even parse the site (for passing
it to a string's .encode() method).
You haven't said why you think you need a list of known encodings!
On 11.11.2008, Tim Chase <[EMAIL PROTECTED]> wroted:
> (Aside: stupid dilbert.com site developers...what sorta rubbish is
> "utf-8lias"?! It's not like it's something that would appear
> accidentally.
It very much looks like an accident during httpd.conf editing,
e.g. pasting part of an "Al
On 12/11/2008 10:07, Tim Chase wrote:
You haven't explained why you think that you *need* a list of all
encodings that exist at a point in time. What are you going to do with
the list?
Just because I ran into this recently, the Dilbert.com site returns a
bogus Content-type header with
Cont
You haven't explained why you think that you *need* a list of all
encodings that exist at a point in time. What are you going to do with
the list?
Just because I ran into this recently, the Dilbert.com site
returns a bogus Content-type header with
Content-Type: text/html; charset=utf-8lias
On Nov 11, 11:19 am, Philip Semanchuk <[EMAIL PROTECTED]> wrote:
> On Nov 11, 2008, at 1:08 PM, News123 wrote:
>
> > Hi Philip,
>
> > Thanks for your answer:
> > The fact, that a module 'encodings' exists was new to me.
>
> We both learned something new today. =)
>
> > encodings.aliases.aliases has
On Nov 10, 11:00 am, News123 <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was googling quite some time before finding the answer to my question:
> 'what are the names for the encodings supported by python?'
>
> I found the answer athttp://python.active-venture.com/lib/node127.html
>
> Now my question:
>
On Nov 11, 2008, at 1:08 PM, News123 wrote:
Hi Philip,
Thanks for your answer:
The fact, that a module 'encodings' exists was new to me.
We both learned something new today. =)
encodings.aliases.aliases has however one problem.
It helps to locate all encoding aliases, but it won't find en
Hi Philip,
Thanks for your answer:
The fact, that a module 'encodings' exists was new to me.
encodings.aliases.aliases has however one problem.
It helps to locate all encoding aliases, but it won't find entries for
which no aliases exist:
So I can find koi8_r and its aliases
[ [k,v] for k,v in
On Nov 11, 2008, at 9:10 AM, News123 wrote:
Hi Philip,
Your answer touches exaclty one point, which I was slightly afraid of:
- The list is not exhaustive
- python versions might have implemented different codecs.
This is why I wondered whether there's any way of querying python
for a
list
Hi Philip,
Your answer touches exaclty one point, which I was slightly afraid of:
- The list is not exhaustive
- python versions might have implemented different codecs.
This is why I wondered whether there's any way of querying python for a
list of codecs it supports.
thanks again for your and
"News123" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi,
I was googling quite some time before finding the answer to my question:
'what are the names for the encodings supported by python?'
I found the answer at http://python.active-venture.com/lib/node127.html
Now my quest
On Nov 9, 2008, at 7:00 PM, News123 wrote:
Hi,
I was googling quite some time before finding the answer to my
question:
'what are the names for the encodings supported by python?'
I found the answer at http://python.active-venture.com/lib/
node127.html
Now my question:
Can I find the
On Nov 10, 11:00 am, News123 <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was googling quite some time before finding the answer to my question:
> 'what are the names for the encodings supported by python?'
>
> I found the answer athttp://python.active-venture.com/lib/node127.html
>
> Now my question:
>
I was googling quite some time before finding the answer to my question:
'what are the names for the encodings supported by python?'
I found the answer at http://python.active-venture.com/lib/node127.html
Now my question:
Can I find the same info in the standard python doc or query python with
Hi,
I was googling quite some time before finding the answer to my question:
'what are the names for the encodings supported by python?'
I found the answer at http://python.active-venture.com/lib/node127.html
Now my question:
Can I find the same info in the standard python doc or query python
15 matches
Mail list logo