diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-01-06 12:09:42 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-01-06 12:09:42 +0000 |
commit | b817bdb302050195881ce501dd98cacde651494f (patch) | |
tree | 4376250981cd62ceed9b1b9503b7a64537fb46ce /modules/blog.module | |
parent | 7cf848279ceec2f8870fe80f4be6343c37528f1e (diff) | |
download | brdo-b817bdb302050195881ce501dd98cacde651494f.tar.gz brdo-b817bdb302050195881ce501dd98cacde651494f.tar.bz2 |
- Improved XML encoding fix. There is now a function drupal_xml_parser_create():
/**
* Wrapper around xml_parser_create() which extracts the encoding from the XML
* data first and sets the output encoding to UTF-8. This function should be
* used instead of xml_parser_create(), because PHP's XML parser doesn't check
* the input encoding itself.
*
* This is also where unsupported encodings should be converted.
* Callers should take this into account: $data might have been changed after
* the call.
*
* @param $data The XML data which will be parsed later.
*/
Diffstat (limited to 'modules/blog.module')
0 files changed, 0 insertions, 0 deletions