Hi all,
I've got a script which rewrites an rss feed when a news release is
added to the website. The Comms team who add the releases are
techno-phobic (to put it mildly), so they paste straight form word.
I've got some filtering put in place, but occassionally odd characters
slip through and bad things happen (like breaking the
newzealand.govt.nz home page, as our feed is auto-scraped and
reprocessed by nz.govt.nz).
I've tried the use of
iconv('CP1252', 'UTF-8', $data)
but this makes it worse (it actually *increases* the amount of odd
data) and using
iconv('CP1252', 'UTF-8\\TRANSLIT', $data)
fails outright (no data is returned)
Can anyone offer any pointers?
Regards,
Paul
--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---