xml.sax.xmlreader.XMLReader.setLocale()

XMLReader.setLocale(locale)

Allow an application to set the locale for errors and warnings.

SAX parsers are not required to provide localization for errors and warnings; if they cannot support the requested locale, however, they must raise a SAX exception. Applications may request a locale change in the middle of a parse.

doc_python
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.