Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Titles with Foreign Characters Get Rejected by API Create


I have a video title with the name: Alejandro González Iñárritu

It gets rejected all the time. Have a recommendation on PHP function to run against the name (using html_entity_decode that was provided in a JWPlayer script). The charset should be UTF-8 (unicode)

cheers
Ryan

3 Community Answers

contact

User  
0 rated :

The Revenant - Interview - Alejandro González Iñárritu I upload failed.

Is the response. It's definitely because of foreign characters.

Todd

JW Player Support Agent  
0 rated :

All text parameters need to be converted to UTF-8 encoding. Please see http://apidocs.jwplayer.com/authentication.html for more details.

I am not a PHP expert, but perhaps html_entity_decode() does not convert those characters properly? Can you try using utf8_encode() ?

contact

User  
0 rated :

The table with the data is UTF-8, so not sure why I'd need to re-encode, but let me try that.

For a solution I went with ICONV to swap out the foreign characters for allowed ones.

This question has received the maximum number of answers.