[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help

From: Markus Mützel
Subject: Re: help
Date: Tue, 19 Jan 2021 20:18:44 +0100

Am 19. Januar 2021 um 18:26 Uhr schrieb "Fernando Duarte":
> Dear Markus,
> Thank you for your email and support.
> I have this part of code 
> xlh=xlsopen('IEA.xlsx',1,[]);
> [X,Y]=xls2oct(xlh);
> [A1,A2,lim]= parsecell (X);
> and I want to write  A2(1,1:25), A2(2:end,5)..... into a excel xlsx file 
> using oct2xls() .
> the A(1,1:25) have special  portuguese characters like  ã ç,.....
> version of Octave 6.1.0.  version of the io package: 2.6.3
> plataform: windows 10  
> Thank you very much, in advance
> sincerely
> fernando duarte

Please, keep the mailing list in CC.
There is currently a bug (in the io package or in Octave - not sure yet) that 
leads to errors when reading/writing non-ASCII characters from/to Excel files.
It is possible to work around that bug by setting the default file encoding to 
You can either do that in the preferences ("Editor" tab -> Set "Text encoding 
used for loading and saving" to "UTF-8") or with the following command:
 __mfile_encoding__ ("utf-8")

You might have to convert your .m files to UTF-8 if they contain non-ASCII 
characters after that. But the default will most likely change to UTF-8 for 
Octave 7 anyway.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]