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

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

[Octave-bug-tracker] [bug #42036] Files and directories with non-ASCII c


From: Tatsuro MATSUOKA
Subject: [Octave-bug-tracker] [bug #42036] Files and directories with non-ASCII characters not handled correctly on Windows
Date: Mon, 11 May 2015 09:30:54 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36

Follow-up Comment #15, bug #42036 (project octave):

Torsten

How did you do that?
(I have build mxe-octave adding -DUNICODE and -D_UNICODE to the compile flags
in the Makefile and changed the codepage to 65001 in the terminal window.)

I have tried to add  -DUNICODE and -D_UNICODE in CFLAGS and CXXFLAGS in
src/octave-mk and built mxe-octave (4.0.0-rc4)  However, my results were
different. 

The ls command at codepage 932 (Japanese), ls command gives broken screen but
they are different from octave-4.0.0-rc4 on ftp alpha site.

After system('chcp 65001'), for me, ls command works perfect.
The system('type nihongo.m') represent Japanese characters but nihongo.m did
not work.

I could not handle path and file names which contain Japanese multibyte
character are not able to be handled.

MinGW page suggests to use wmain or _tmain and use wchar or tchar.
However the use of it loses portability of the code.

I cannot figure out what is the good solution for this matter.
  




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42036>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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