[Nightly Builds] python status change? (Multi byte language)
#1
Hello,

In XBMC Nightly Builds,python status change?
In latest Nightly Builds, when Japanese(Multi byte language) is included in the path name, it is not recognized.
When the path name is entire English, it is recognized.
My set is Japanese Windows7 Ultimate.

I created two folders for each English and Japanese.
Image

"test.py" run from the XBMC. Ex. RunScript(d:\test.py).
Image

before XBMCSetup-20110406-58863e3-master.exe(python26.dll not exist)
Quote:00:20:12 T:7816 M:1121992704 NOTICE: -->Python Interpreter Initialized<--
00:20:12 T:7816 M:1121988608 NOTICE: +++++++++++++++ TEST START ++++++++++++++
00:20:12 T:7816 M:1121988608 NOTICE: +++++ No directory : False
00:20:12 T:7816 M:1121988608 NOTICE: +++++ All English pathname : True
00:20:12 T:7816 M:1121988608 NOTICE: +++++ Contains Japanese pathname: True
00:20:12 T:7816 M:1121988608 NOTICE: +++++++++++++++ TEST END ++++++++++++++++

latest XBMC (python26.dll since been added)
Quote:00:17:56 T:7472 M:1119289344 NOTICE: -->Python Interpreter Initialized<--
00:17:56 T:7472 M:1119313920 NOTICE: +++++++++++++++ TEST START ++++++++++++++
00:17:56 T:7472 M:1119313920 NOTICE: +++++ No directory : False
00:17:56 T:7472 M:1119309824 NOTICE: +++++ All English pathname : True
00:17:56 T:7472 M:1119309824 NOTICE: +++++ Contains Japanese pathname: False
00:17:56 T:7472 M:1119309824 NOTICE: +++++++++++++++ TEST END ++++++++++++++++
Reply
#2
We switched from internal build python 2.4 to a third party precompiled lib from here: http://www.python.org/download/releases/2.6.6/
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#3
Thanks, WiSo

The reason for the test, the latest XBMC is not working TvTune.script.(Japanese directory only)
My temporary solution is as follows. (It works by this method now.)
XBMC > system > python > Lib > site.py
Edit line 453
Code:
encoding = "ascii"  >  encoding = [color=red]"utf-8"[/color]
and Edit TvTune.script
I posted the details below.
here:http://forum.xbmc.org/showthread.php?tid=83925

Isn't there something good method?
Reply

Logout Mark Read Team Forum Stats Members Help
[Nightly Builds] python status change? (Multi byte language)0