Hi patsky, sorry for the late reply and thanks for posting you fix.
My guess is that your character set is set to UTF-8 i.s.o. utf-8, or maybe a different encoding is being used which can't be converted to iso. If the problem lies in the fact that the script does not account for a UTF-8 versus utf-8 setting this should solve the problem:
Change:
toCode:if (!(CHARSET == 'utf-8')) { // convert UTF-8 to ISO-8859-1 $text = iconv('UTF-8', 'ISO-8859-1//TRANSLIT//IGNORE', $text); }
If the problem is related to the use of an incompatible character set you might get problems when using special characters in your tweets (like ö or é).Code:if (!(strtolower(CHARSET) == 'utf-8')) { // convert UTF-8 to ISO-8859-1 $text = iconv('UTF-8', 'ISO-8859-1//TRANSLIT//IGNORE', $text); }



Reply With Quote


Bookmarks