user1219141
user1219141

Reputation: 11

php decode data from utf8 to windows-1256

I use simplexml_load_file to load user tweets

http://twitter.com/statuses/user_timeline/userid.xml?count=44

I get the data with UTF-8 encoding

How I can convert data to windows-1256

Upvotes: 0

Views: 1510

Answers (1)

Saket Patel
Saket Patel

Reputation: 6683

iconv("UTF-8", "Windows-1256//TRANSLIT", $string);

Upvotes: 1

Related Questions