Reputation: 148
I've setup a custom receiver application using CastHelloText-android as a base, and I'm trying to get it to correctly display certain unicode characters, however it is just displaying a blank space instead where the characters should be.
<div id="message">Test: ਵਾਹਿਗੁਰੂ :End Test</div>
This renders correctly on the site where I'm hosting the custom receiver, but when attempting to display it using a DataCastManager from the Cast Companion Library, the unicode characters aren't showing up. Is there any way to make this display or is there an alternative?
UPDATE: I just tried the message:
<div id="message">Test: ग़ ਵਾਹਿਗੁਰੂ :End Test</div>
And the character (ग़) for
ग़
shows up just fine. I'm assuming this is a supported language issue then?
Update2: To help clarify, here is the result I'm getting after casting from a device connecting to my receiver with the above message:
Upvotes: 0
Views: 499
Reputation: 148
Google responded at: https://code.google.com/p/google-cast-sdk/issues/detail?id=794
And thanks Ali, your suggestion was correct. Using a .ttf font and applying it to the text will allow the characters to show up. It's not the same as having the actual unicode characters show up, but still helps.
Upvotes: 0