Skip to content

Chinese (utf-8) character display problem #1294

@echoonly

Description

@echoonly

Hi,
I have met a problem with the display of Chinese (utf-8) characters. The Chinese contained in the commit message or code will be displayed as a ~ symbol when viewed in tig:
iShot_2023-08-29_17 04 01

git log command output is normal:
iShot_2023-08-29_17 17 53

I checked the previous issue, which mentioned that it is necessary to link to the ncursesw to support UTF-8 character display.
But, I have compiled tig with ncursesw using git source, tig --version output is:
image

The compilation command:

make configure && ./configure --prefix=${DEST_PATH}/tig
make -j 4 && make install

The output related to ncursesw when the configure command is executed is:
image

Is there anything wrong with this process? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions