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

Sylvestre Ledru sylvestre.ledru at scilab.org
Wed Jan 21 14:46:34 CET 2009


Le mercredi 21 janvier 2009 à 21:20 +0800, Yung-Jang Lee a écrit :
> > I pushed all the modification in the master & branch 5.1.
> >
> > However, it seems to fail under Windows:
> > http://bugzilla.scilab.org/show_bug.cgi?id=40  3
> 
> 
> Under Windows, if you system code page  is not  "CP1251"  the russian
> characters  'ЁЂЄЉф' wouldn't be accepted as environment variable and
> that is reasonable.
> 
> ------------------------setgetenv.tst-----------------
[...]

> --------------------------------------------------------
> 
> It means we can only test  part of 'setgetenv.tst' for each languages
> (chinese,russian,japaness,korean,french)  under Windows.
> 
> So, if you are testing 'setgetenv.tst' not in  "CP1251" code page
> under Windows, then message of the report
> 
> http://bugzilla.scilab.org/show_bug.cgi?id=4003
> 
> shouldn't be considered as a bug.
I am not sure to understand your point.

This stuff is working under Linux and we should be able to reach this
goal under Windows too.
Allan is going to try to install a 100% Chinese Windows

Btw, could you make a small change on the function localeToUTF ? 
For now, it has a limitation about the string we can return (max size:
MAXPRINTF/bsiz).

Sylvestre





More information about the dev mailing list