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

Perrichon perrichon.pierre at wanadoo.fr
Wed Aug 26 09:28:20 CEST 2020


Hello,

 

xsave don't correctly save a "scg" file with accented characters in file
name

 

See the following script or buggzilla #16537

 

//--------------------------------------------------------------------------
-----------------
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)
 
//Erroneous file name for the "scg" file with accented characters
// W10 x64 - French AZERTY keyboard 
// Scilab 6.1.0 or 5.5.2
 
// Results : - File names :
//-------------------------
// Test ùùééêë.scg
// Test ùùééêë.txt
 
//--------------------------------------------------------------------------
------------------

 

Best regards

 

Pierre

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20200826/71940945/attachment.htm>


More information about the users mailing list