![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: recycling internationalized garbage
From: <aaronwmail-usenet@yahoo.com>
Date: Tue Mar 14 2006 - 16:18:06 CET
Regarding cleaning of mixed string encodings in
http://www.xfeedme.com/discs/discography.html
Following </F>'s suggestion I came up with this:
utf8enc = codecs.getencoder("utf8")
def checkEncoding(s):
This works nicely for Nordic stuff like
Unless someone has any other ideas I'm
===
In theory, theory is the same as practice.
|