开发者

Abraham Twitter OAuth Library Special Characters Problem

I'm using Abraham's Twitter OAuth Library to post status updates on twitter.

It works well but there is a problem with character set, I guess.

There are characters in my language which are not english such as ö ü ç.

When I use these characters, it won't post my status update, is there any work around ?

I don't want to convert non-english characters to english characters.

I want to use characters in m开发者_如何学Goy own language.


Are you try to put in the way of html entites like http://www.texaswebdevelopers.com/examples/xmlentities/xml_entities.asp


Check which character encoding the status updates must be encoded in with twitter. Then change the encoding which you have into the encoding that twitter has.

I guess it's perecent-encoding but can not say specifically.

Send the updates then in twitter's encoding and you should get the expected result.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜