On Sat, Jun 15, 2002 at 09:51:25AM -0500, Skip Montanaro wrote: > The unicode() builtin accepts an optional third argument, errors, which > defaults to "strict". According to the docs if errors is set to "ignore", > decoding errors are silently ignored. I seem to still get the occasional > UnicodeError exception, however. I got the error very often (but I use encoding conversion much more often than you). First time I saw it I was very surprized that neither "ignore" nor "replace" can eliminate the error. Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4