octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #59269] dlmread error when file path have utf8


From: INVALID.NOREPLY
Subject: [Octave-bug-tracker] [bug #59269] dlmread error when file path have utf8 character
Date: Mon, 19 Oct 2020 02:05:01 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36

Follow-up Comment #3, bug #59269 (project octave):

I'm sorry it wasn't described clearly, and I really don't know where the
mistake was.
Windows version 10 with Octave 5.2.0.
I use "uigetfile('*.csv')" to get file path, and "filepath" got the correct
file path.
But when I use "fopen(filepath)" to open the file, and use
"importdata(filepath, ",")" to importdata, the following error occurred:
====error======
error: dlmread: unable to open file
'C:\Users\lyd\Documents\projects\录录波波文文件件\wave_files\2008年年07月月18日日06时时23分分07秒秒.csv'.
error: called from
    importdata>importdata_ascii at line 249 column 17
    importdata at line 128 column 40
===============
The real file path is
"C:\Users\lyd\Documents\projects\录波文件\wave_files\2008年07月18日06时23分07秒.csv",
and "filepath" does get the correct file path. But the Chinese characters in
the error messages are repeated, and importdata does not work.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59269>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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