Loggytronic Forum

VOMP => VOMP for Raspberry Pi => Topic started by: clausmuus on October 17, 2012, 08:10:05

Title: EPG and UTF-8
Post by: clausmuus on October 17, 2012, 08:10:05
Hi,

there is a problem with EPG data that contains UTF-8 characters. If it contains e.g. a German Umlaut, the EPG text will be cut at this character. Do you know about this, and is there a solution?
Must I set especial environment variables to fix this?

Claus
Title: Re: EPG and UTF-8
Post by: glotzi on October 17, 2012, 08:50:29
This problem is not limited to epg data, all string are cut of. E.g recording names.

I'm not 100% sure, but this problem is related to MLD. My own build vompclient seems to work fine with raspbian.
Title: Re: EPG and UTF-8
Post by: MartenR on October 17, 2012, 15:41:06
In osdvector the locale is set with
Quotesetlocale(LC_CTYPE,"C.UTF-8");
I use the probably debian specific locale "C.UTF8", which say c behaviour but UTF-8 since I do not know the language the user will support.
You probably have to add also something like "C.UTF8" to your dist in order that the string conversion routines are working properly.

Marten
Title: Re: EPG and UTF-8
Post by: clausmuus on October 17, 2012, 20:05:49
Than you, this information helps. I have now add the c.utf-8 language configuration to the MLD and now it will shown correct.

Claus