The problem is that when I use Youtube API to get a video (ex. video entry, feed, etc) it dose not show correct. for example:
الوسمي – المكتوب
appears like this
الوسمي – المكتوب
What is the cause of this, although english titles and content appears correctly ?
Try with UTF-8 charset on your page:
Using byte values from treating the weird characters you gave as windows cp1252:
You can use the above code to always test if you are doing it correctly.