[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44538] command window problem for windows for
From: |
Tatsuro MATSUOKA |
Subject: |
[Octave-bug-tracker] [bug #44538] command window problem for windows for Japanese |
Date: |
Fri, 01 May 2015 00:36:00 +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 #11, bug #44538 (project octave):
I have tested on 4.0.0-rc4.
Two attachment files are for gui mode tests.
After_ls_rc4.png
('ls' causes command windows break)
After_ls_cp65001_rc4.png
The uft8 encode multibyte characters (perhaps also other non-ASCII characters)
do not represented correctly.
However, the break of 'command window' does not happen for code page 65001.
(system ('chcp 65001')).
I propose the set code page 65001 as default for the command windows of the
gui.
For the cli, the code page of console is set to 65001
>> nihongo
���本語
あいうEnglishあいう
>> system cmd
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
E:usrTatsuprogramOctavetest4.0>type nihongo.m
disp('日本語')
disp('あいうEnglishあいう')
% 日本語のコメント
E:usrTatsuprogramOctavetest4.0>exit
>> nihongo
>>
>> system cmd
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
E:usrTatsuprogramOctavetest4.0>type nihongo.m
disp('日本語')
disp('あいうEnglishあいう')
% 日本語のコメント
E:usrTatsuprogramOctavetest4.0>exit
>>
(file #33850, file #33851)
_______________________________________________________
Additional Item Attachment:
File name: After_ls_rc4.png Size:90 KB
File name: After_ls_cp65001_rc4.png Size:91 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44538>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/