[Scilab-users] Erroneous file name for the "scg" file with accented characters when using xsave instruction

Antoine Monmayrant antoine.monmayrant at laas.fr
Wed Aug 26 10:12:34 CEST 2020


Hello,


It seems to be Windows specific as your script works as expected under 
linux:

ls /tmp/SCI_TMP_21007_Y24sfl/
Test ùùééêë.scg  Test ùùééêë.txt

Could this be some encoding issues?

Antoine

Le 26/08/2020 à 09:28, Perrichon a écrit :
> Rep=TMPDIR
> chdir(Rep)
> Name=Rep + "\Test ùùééêë"
> fd=mopen(Name + ".txt","w+")
> mfprintf(fd,"Fichier %s + ".txt"\n",Name)
> mclose(fd)
> num=1
> f=scf(num);
> plot2d()
> f.figure_name=Name
> xsave(Name + ".scg",num)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20200826/9bd2fca6/attachment.htm>


More information about the users mailing list