I noticed that all the arabic in my delicious links were not imported correctly. I checked and the first guess was the XML parser. I fixed that and reinstalled the module, it worked.

One liner patch attached!

CommentFileSizeAuthor
delicious_utf8.patch558 bytesAmrMostafa

Comments

Anonymous’s picture

Assigned: Unassigned »

I'll look into this tomorrow as i don't know what all the consequences are of making the change you suggest at the moment.

Also there is a drupal wrapper for xml_parser_create() called drupal_xml_parser_create() which
i might need to migrate to and it also defines a default encoding as utf-8 at the outset.

http://api.drupal.org/api/function/drupal_xml_parser_create/6

Anonymous’s picture

Status: Needs review » Fixed

It looks as though the drupal_xml_parser_create() wrapper resolves this problem.

I'll get this committed to the development branch later today.

Thanks for your help.
Best, Paul

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.