Hi. Doing a 'simple' test with linux command line curl, as well as pycurl to fetch a page from a server.
The page has a charset of >>AL32UTF8. Anyway to conert this to straight ascii. Python is throwing a notice/error on the charset in another part of the test.. The target site is US based, so there's no weird chars in it.. I suspect that the page/system is based on legacy oracle The metadata of the page is <META HTTP-EQUIV="Content-Type" NAME="META" CONTENT="text/html; charset=AL32UTF8"> I tried the usual foo = foo.decode('utf-8') foo = foo.decode('ansii') etc.. but no luck. Thanks for any pointers/help _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor