bugGNU Octave - Bugs: bug #58637, Fullwidth CJK characters are...

 
 

bug #58637: Fullwidth CJK characters are displayed twice in command window (on Windows)

Submitted by:  yan <pop>
Submitted on:  Sun 21 Jun 2020 03:27:37 PM UTC  
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Confirmed Assigned to:  None
Originator Name:  yan Open/Closed:  Open
Release:  5.2.0 Operating System:  Microsoft Windows

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 29 Jun 2020 02:43:01 PM UTC, comment #2: 

Does sound like an issue with the Windows-specific command window library. Works fine (no doubled CJK characters) in the 4.4.1 GUI on Mac for me.

Andrew Janke <apjanke>
Sun 21 Jun 2020 04:56:21 PM UTC, comment #1: 

Are you referring to the fact that each Chinese character is displayed twice in the Command Window of the GUI on Windows?

In that case, I can confirm the issue using the GUI with the attached file (from bug #50404).
Output in the command window:

>> cd D:\Repositories\Octave\bug58637
>> dir
.       ..      faa.m   äöü  著著
>> faa
e = 著著
ans = 著著

I can't reproduce with the CLI. After setting the .m file encoding and terminal codepage to UTF-8, output seems to be ok here:

octave:1> cd D:\Repositories\Octave\bug58637
octave:2> system("chcp 65001")
Aktive Codepage: 65001.
ans = 0
octave:3> __mfile_encoding__ utf-8
octave:4> clear functions
octave:5> dir
.       ..      faa.m   äöü  著
octave:6> faa
e = 著
ans = 著
octave:7>

This is probably an (upstream?) issue with the command window implementation in the GUI on Windows.

(file #49339)

Markus Mützel <mmuetzel>
Project Member
Sun 21 Jun 2020 03:27:37 PM UTC, original submission:  

CLI browses the contents of the current directory, Chinese characters overlap

yan <pop>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #49339:  faa.m added by mmuetzel (36B - application/octet-stream)
file #49337:  bug.png added by pop (60KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by apjanke (Posted a comment)
  • -email is unavailable- added by mmuetzel (Updated the item)
  • -email is unavailable- added by pop (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-06-21 mmuetzel Attached File- => Added faa.m, #49339
        CategoryNone => GUI
        Item GroupNone => Unexpected Error or Warning
        StatusNone => Confirmed
        SummaryCLI browses the contents of the current directory, Chinese characters overlap => Fullwidth CJK characters are displayed twice in command window (on Windows)
    2020-06-21 pop Attached File- => Added bug.png, #49337

    Back to the top


    Powered by Savane 3.5