问题
How do I post symbols (eg. ©) in a wall post using the graph api? Html entities (eg. ©) aren't parsed in facebook.
回答1:
All large text fields are utf-8, use the actual character used to represent it which is U+00A9
If you have HTML entities you can decode with html_entity_decode()
$utf8_text = html_entity_decode("test © foo", ENT_COMPAT, "UTF-8");
来源:https://stackoverflow.com/questions/7796603/php-facebook-sdk-graph-api-how-do-i-include-symbols-eg-in-a-wall-post