A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2007-November/075164.html below:

[Python-Dev] XML codec?

[Python-Dev] XML codec? [Python-Dev] XML codec?"Martin v. Löwis" martin at v.loewis.de
Fri Nov 9 19:59:46 CET 2007
> And what do you do once you've detected the encoding? You decode the
> input, so why not combine both into an XML decoder?

Because it is the XML parser that does the decoding, not the
application. Also, it is better to provide functionality in
a modular manner (i.e. encoding detection separately from
encodings), and leaving integration of modules to the application,
in particular if the integration is trivial.

Regards,
Martin

More information about the Python-Dev mailing list

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