New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird output of Chinese characters #1613

Open
suc1997 opened this Issue Jun 21, 2018 · 2 comments

Comments

2 participants
@suc1997

suc1997 commented Jun 21, 2018

Versions

ConEmu build: 180528 / 180617 x64
OS version: Windows 7 / 10 x64
Used shell version: cmd

Problem description

Hi developer, I used ver. 170910 for a long time. Last month I update to 180528 and found something weird in display Chinese characters. Just now I checked ver. 180617 and it happend again, so I submit this issue here.
I'm not sure whether this bug exists in previous version like ver. 180503.

Steps to reproduce

  1. Simply compile these codes and run the executable file in ConEmu:
#include <stdio.h>

int main(void)
{
    printf("漢字漢字漢字");    /* 漢字 means Chinese character */
    getchar();                /* <--- source of bug? */
    return 0;
}
  1. The bug appears! It's quite difficult to describe in text, so I attached a screenshot at the end.
  2. If I delete the 'source of bug?' getchar();, the bug won't appear.

Additional files

screenshots

@suc1997 suc1997 changed the title from Weird output in Chinese characters to Weird output of Chinese characters Jun 21, 2018

@Maximus5

This comment has been minimized.

Owner

Maximus5 commented Jun 21, 2018

Do you mean inversed colors of the first glyph?

@Maximus5 Maximus5 added this to To Do in Drawing via automation Jun 21, 2018

@suc1997

This comment has been minimized.

suc1997 commented Jun 22, 2018

Yes, and some unexpected underlines as well.
The exact style of the bug is difficult to predict, but I found that using a loop may produce a neat output:

#include <stdio.h>

int main(void)
{
    for (;;)
    {
        printf("漢字漢字漢字");    /* 漢字 means Chinese character */
        getchar();                /* <--- source of bug? */
    }
    return 0;
}

Here's a screenshot.
new screenshot

@Maximus5 Maximus5 added this to To Do in ConEmu via automation Jun 24, 2018

@Maximus5 Maximus5 removed this from To Do in Drawing Jun 24, 2018

@Maximus5 Maximus5 moved this from To Do to In progress in ConEmu Jun 24, 2018

Maximus5 added a commit that referenced this issue Jun 24, 2018

@Maximus5 Maximus5 moved this from In progress to Ready for Testing in ConEmu Jun 24, 2018

Maximus5 added a commit that referenced this issue Jun 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment