Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Black Diamond Questions Marks - Youtube API - J�r�my

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 :

$myVideoEntry->setVideoDescription('Jérémy');

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

like image 384
Gripsiden Avatar asked Dec 28 '12 18:12

Gripsiden


1 Answers

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.

This could also be an duplicate from:   not being displayed properly. Check out the answer from GmonC to that post.

like image 175
Skuli Axelson Avatar answered Oct 20 '22 21:10

Skuli Axelson