Need consalt with font trouble...
#1
Hi!
I try to write script with UTF-8 cyrillic support and have littlt problem
Word of Upper-case letters shows good, but lower-case write ordinary ANCI like "Р°Р+Р_"
PLS give me advice.
Thanks.
Reply
#2
Some sample code maybe? OS, XBMC version, skin?
Reply
#3
1. sample code (bold variable):
def search_storedepg(chid, channel_epg, rawtime):
try:
on_now = 'No EPG Found'
for x in channel_epg[:]:
if x[:][0] == chid:
duration = int(x[:][2]) / 60
already_gone = (int(rawtime) - int(x[:][1])) / 60
start_time = int(x[:][1])
end_time = int(x[:][1]) + int(x[:][2])
on_now = str(x[:][4])+ ' - ' + str(already_gone) + '/' + str(duration) + ' Mins'

return str(on_now)
except:
return 'error'

2. XBOX
3. 8.10
4. PMIII
Reply
#4
@BAG_Ass
I was expecting a working sample with some Cyrillic characters so we can see run it and see. Any plans to move to / try on XBMC 9.04?
Reply
#5
Dan Dare
i think there is no changes in this area in 9.04 too Sad
in xbmc.log - error decoding utf-8 message
Reply
#6
Sorry man, can't help, there's little information to work with...
Reply
#7
Dan Dare
You know what i can`t understand - why Upper-case shown adequate but lower - not Sad
Reply
#8
@BAG_Ass
Sorry man, I don't know what you are talking about... no working example, can't help...
Reply

Logout Mark Read Team Forum Stats Members Help
Need consalt with font trouble...0