[vdr] UTF8 chars in weekday name

2007-11-27 Thread jdobry
Hello 

I want to describe some minor problem in VDR: 
Short weekdays can't contain non ASCII-7 chars. Any other char is converted to 
UTF8 (it is correct) and cropped to 6 bytes (not UTF8 chars, incorrect). But 
this crop ignote UTF8 extensions.

This code make problem in menu.c (crop to 3+3=6 bytes):
---
asprintf(buffer, %.*s\t%s\t%c%c%c\t%s, 6, *event-GetDateString(), 
*event-GetTimeString(), t, v, r, event-Title());


Dirty fix only for CS language:
---
#. TRANSLATORS: abbreviated weekdays, beginning with monday (must all be 3 
letters!)
msgid MonTueWedThuFriSatSun
#I must fix it to this
msgstr Po Ut St Ct Pa So Ne 
#And correct text is this
#msgstr Po Út St Čt Pá So Ne 


Have a nice day,
Jiri


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] UTF8 chars in weekday name

2007-11-27 Thread jdobry
I forget write that problem is in VDR 1.5.12 and probably in any version from 
1.5.3


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr