I receive the following error when updateing an RSS feed set as ISO-8859-8-i encoding:

warning: xml_parser_create(): unsupported source encoding "ISO-8859-8-i" in ..xxxx/includes/common.inc on line 1216.
warning: xml_parser_set_option(): supplied argument is not a valid XML Parser resource in ...xxxx/includes/common.inc on line 1217.
warning: xml_set_element_handler(): supplied argument is not a valid XML Parser resource in ...xxx/modules/aggregator.module on line 359.
warning: xml_set_character_data_handler(): supplied argument is not a valid XML Parser resource in ...xxx/modules/aggregator.module on line 360.
warning: xml_parse(): supplied argument is not a valid XML Parser resource in ...xxx/modules/aggregator.module on line 362.
warning: xml_get_error_code(): supplied argument is not a valid XML Parser resource in ...xxx/modules/aggregator.module on line 363.
warning: xml_get_current_line_number(): supplied argument is not a valid XML Parser resource in ...xxx/modules/aggregator.module on line 363.

Comments

Steven’s picture

PHP's XML parser only supports ISO-8859-1, UTF-8 and US-ASCII. However, if you have iconv support in PHP enabled, Drupal (from 4.4 and on) will use it to convert other XML encodings to UTF-8 before parsing.

Check PHP.net's iconv page for more info.