Xbmcgui.controltextbox can support chinese well?
#1
as i use python to run the script i wrote,i find that controltextbox can't show chinese correctly.

for example,if i define width 300,it can show english words full width(300),but it can only display chinese half width(150).

another question,it can't detect the chinese double byte,it will split one chinese words into half,and display the wrong codes.

can it be proved in the future?

regards

hibaby
Reply
#2
all the components of xbmc work in utf-8. this means that if you pass utf-16 strings, every character will be displayed as two characters, like you experienced. change your app to use utf-8. there is no plan to support utf-16 natively any time soon as it is a major rewrite of most of xbmc.

-yuval
Reply

Logout Mark Read Team Forum Stats Members Help
Xbmcgui.controltextbox can support chinese well?0