[Scilab-Dev] PATCH for set/get environment variables

Yung-Jang Lee yjlee123 at gmail.com
Thu Jan 22 10:43:17 CET 2009


Hi,

>
> Launch scilab and setdefaultlanguage('zh_CN')

Under my  Chinee-Traditional (language 'zh_TW') Windows, and set

  setdefaultlanguage('zh_TW')
  setdefaultlanguage('zh_CN)
  setdefaultlanguage('fr_FR')
  setdefaultlanguage('ru_RU')

for test, menus for 'zh_TW' and 'zh_CN' is OK, but with gray menu for
'fr_FR' and 'ru_RU' .

I think it dependents on the code page of the Windows system currently
 used. And it is not a serious bug since most users don't set default
language not compatible with system encoding.

If we want to resolve this bug, may be we should add a encoding
argument to  'setdefaultlanguage' for example,


  setdefaultlanguage('zh_TW','BIG5')

or

setdefaultlanguage('ru_RU','CP1251')


Regards,

Yung-Jang Lee
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zh_TW.png
Type: image/png
Size: 28093 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/dev/attachments/20090122/d1870fed/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zh_CN.png
Type: image/png
Size: 10048 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/dev/attachments/20090122/d1870fed/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fr_FR.png
Type: image/png
Size: 10074 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/dev/attachments/20090122/d1870fed/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ru_RU.png
Type: image/png
Size: 10231 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/dev/attachments/20090122/d1870fed/attachment-0003.png>


More information about the dev mailing list