mojibake in bash

Bug #1248243 reported by Rolf Leggewie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vte3 (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

further to what I reported in bug 1248239, the filenames are also shown as mojibake in bash (see attached screenshot)

$ ls -1 /tmp/*.txt
/tmp/⑥-test.txt
/tmp/⑤-test.txt
/tmp/④-test.txt
/tmp/①-test.txt
/tmp/③-test.txt
/tmp/②-test.txt

This is in precise. Reporting against Japanese Kaizen project first for confirmation and some triage.

For what it's worth, on a VT the circle around the number characters is dropped here on my computer.

Sorting in Nautilus is as expected, for example.

Tags: precise
Revision history for this message
Rolf Leggewie (r0lf) wrote :
description: updated
Revision history for this message
Fumihito YOSHIDA (hito) wrote :

It seems "Unicode's East asian ambiguous width" problem.

Could you please re-test with VTE_CJK_WIDTH=1 as your environment variables ?
e.g.: If you use gnome-terminal, exec:
$ VTE_CJK_WIDTH=1; gnome-terminal --disable-factory

See also:
- https://bugs.launchpad.net/ubuntu-jp-improvement/+bug/191250
- https://wiki.ubuntulinux.jp/hito/WIP-ambiwidth .

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Thank you, Yoshida-san. You hit the nail on the head. I can confirm that your suggested workaround fixes the problem. I was not aware that the issue is so well known among the Japanese community that you have already created a detailed wiki page including suggested fixes.

Assigning to libvte

affects: ubuntu-jp-improvement → vte (Ubuntu)
affects: vte (Ubuntu) → vte3 (Ubuntu)
Revision history for this message
Rolf Leggewie (r0lf) wrote :
Rolf Leggewie (r0lf)
Changed in vte3 (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.