开发者

How to post a message with a special character to Facebook feed using Graph API?

开发者 https://www.devze.com 2023-02-21 19:37 出处:网络
I can successfully post a message to my Facebook feed using the Facebook Graph API. The 开发者_运维问答script I\'m using to achieve this sometimes have to include special characters like "é"

I can successfully post a message to my Facebook feed using the Facebook Graph API. The 开发者_运维问答script I'm using to achieve this sometimes have to include special characters like "é","è",etc...And when this happens, the message appears with these special characters replaced by question mark (?) instead of the actual character. I've been trying to encode characters prior to posting it and their shows up as is.

How can I solve this problem?


make sure you're using UTF-8 encoding. facebook is UTF-8 and will have problems with special characters if you're using the default ANSI.

0

精彩评论

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