Pywin Autocomplete list language problem

Discussions concerning programming of SOFTIMAGE©
dozer
Posts: 5
Joined: 09 Aug 2011, 14:43

Pywin Autocomplete list language problem

Post by dozer » 18 Feb 2012, 16:54

Hi,
My problem is that when using pywin, items in the autocomplete list are in Japanese. Has anyone faced this problem before? Do you have any suggestions to fix it ?
I'm using Softimage 2012 and the default pyhton version that comes with it.
You do not have the required permissions to view the files attached to this post.

iamVFX
Posts: 697
Joined: 24 Sep 2010, 16:28

Re: Pywin Autocomplete list language problem

Post by iamVFX » 18 Feb 2012, 17:39

Same here. If we want to use package for production use let's get started to learn some Japanese :D

luceric
Posts: 1252
Joined: 21 Jun 2009, 22:08

Re: Pywin Autocomplete list language problem

Post by luceric » 18 Feb 2012, 22:07

i think it's because pywin is not compiled in unicode, so when it's running from xsi, the combo box created is unicode and needs unicode strings, and the pywin is giving it non-unicode strings. the result is random garbage, not specifically japanese

dozer
Posts: 5
Joined: 09 Aug 2011, 14:43

Re: Pywin Autocomplete list language problem

Post by dozer » 19 Feb 2012, 02:40

Is it fixable?

luceric
Posts: 1252
Joined: 21 Jun 2009, 22:08

Re: Pywin Autocomplete list language problem

Post by luceric » 20 Feb 2012, 04:02

pywin would probably need to be recompiled in Unicode

dozer
Posts: 5
Joined: 09 Aug 2011, 14:43

Re: Pywin Autocomplete list language problem

Post by dozer » 21 Feb 2012, 23:50

Well, that is a thing i cannot do :) Thanks for the reply. At least i've got the reason.