when I try send the following to Youtube Description via API – for example:
Jérémy – I get
J�r�my in the youtube description. Strangely ,
"–" also shows as
Im posting with
PHP Zend API :
Im not sure if I can set encoding? When I change the description manually it works fine.
ANSWER – Changed Page Properties in Dreamweaver to UTF8 and problem solved. Thanks all
What editor are you using when you write your code? I once had this issue an discovered that in Notepad++ the page encoding was set to ANSI and not UTF8 as I needed.
Not 100% sure but as you are sending a string it might mean you will need to use the ascii code for “special” characters as they will be evaluated as is when rendered by the browser.
for example for é you could use:
and for a dash you could/would use: ‘-’;