$SUBJ - when non-UTF8 characters appear in Google result set (yes, can happen), simplexml parser fails and nothing is returned.

CommentFileSizeAuthor
#2 google_cse_adv.decoding.patch808 bytesRob Knight

Comments

meba’s picture

Status: Active » Closed (fixed)

utf8_encode() added to result set to ensure everything is encoded properly. Patch made by Mathiaz.sk. Committed to CVS.

Rob Knight’s picture

Status: Closed (fixed) » Needs review
StatusFileSize
new808 bytes

This caused a small issue for us when printing out the UTF8-encoded results. I've rolled a patch which utf8_decodes data on the way out, returning it to the form it was received from Google in (patch is against the latest version in CVS).

meba’s picture

Status: Needs review » Fixed

Great! Committed.

Status: Fixed » Closed (fixed)

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