Problems displaying Chinese and Russian titles in Dash Player

5 replies [Last post]
kbobash
Offline
Last seen: 1 year 11 weeks ago
Joined: 08/18/2010

It seems that when the title of a video is in Russian or Chinese (simplified), the text isn't being displayed properly. Is this a font problem in Flash? Do I need to change the skin and select a font that supports these extended characters? Or is this an entirely different issue?

Thanks!

travist
travist's picture
Offline
Last seen: 10 weeks 2 days ago
Joined: 08/21/2009
This might be a problem with

This might be a problem with an outdated version of Services, or if you are using the new Services, your AMFPHP settings are not selecting the correct encoding for Chinese and Russian ( utf8 ).

International Open Source Solutions
What can Alethia build for you?

kbobash
Offline
Last seen: 1 year 11 weeks ago
Joined: 08/18/2010
That did it for titles in the player...but not the teaser titles

That solved the problem for the titles that are displayed below the video/image pane. I changed the Charset PHP setting from ISO-8859-1 to UTF-8 on the /admin/build/services/settings/amfphp page. (The Charset method was already set to utf8-decode.)

However, I then noticed that the titles weren't correct for these 2 languages in the playlist area (teaser titles).

First I checked out my "videos" view, and it is returning the correct language titles when I preview that in Drupal.

I then went to the Drupal Services browse page /admin/build/services/browse/dashplayer.getView to preview what the dashplayer.getView service returns, and the title and teaser text were displayed in the correct language (utf-8 font).

Looking at the Flash code, I see that it eventually calls the Drupal Service node.get. I then tried the node.get service in the Drupal Services browse for a Russian language node, and again the preview returned the title and teaser fields in the correct language (utf-8 font).

Any clues?

kbobash
Offline
Last seen: 1 year 11 weeks ago
Joined: 08/18/2010
More info on the double-byte

More info on the double-byte language woes in the playlist. My Flash programmer discovered that the problem is with the masking that is used in the playlist area for the scrolling. When using the mask, the font functionality is somehow limited, so the double-byte chars don't show up. When she removed the mask, they showed up!

She's looking into how to possibly fix this issue, but if you have any ideas that might help, that would be great!

Thanks, Kirk

mcarey
Offline
Last seen: 1 year 21 weeks ago
Joined: 09/09/2010
To clarify, the issue is a

To clarify, the issue is a known one for flash. Dynamic text must use embedded characters if it is masked in any way, as the items in the player's playlist menu are (on contrast with the title in the main 'stage' area of the player). There may be no real workaround for this without significantly reconfiguring the playlist menu. The problem with embedding all of the characters (to accommodate double-byte char sets etc) is just that it greatly blows out the file size (from < 100K to 6.4MB!) May just have to bite that bullet.

kbobash
Offline
Last seen: 1 year 11 weeks ago
Joined: 08/18/2010
SOLUTION: Embed the fonts

To follow-up, we discovered that the only real solution was to embed the desired fonts in Flash. This is a known Flash issue when using masks, nothing to do with the Dash Player specifically.

Thanks for your help.

Sponsors