Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #195371

Re: Chinese file name problem in xterm

From Ben Caradoc-Davies <ben@transient.nz>
Newsgroups linux.debian.user
Subject Re: Chinese file name problem in xterm
Date 2018-05-06 23:50 +0200
Message-ID <vMzHA-rH-5@gated-at.bofh.it> (permalink)
References <vMzod-kF-5@gated-at.bofh.it> <vMzod-kF-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 07/05/18 09:26, Long Wind wrote:
> some Chinese file names are properly shown in xterm in stretch, but other are not
> all Chinese characters can be properly shown in firefox
> how to solve it? Thanks!

What characters? What is shown? What did you expect?

xterm uses fixed-size bitmap fonts which typically support only limited 
character ranges; both xterm and bitmap fonts are considered legacy 
technologies and have been replaced since by the development of scalable 
fonts and terminals supporting them in the 1990s. Can you use a terminal 
that supports scalable fonts? Examples include gnome-terminal and 
xfce4-terminal.

If the characters are shown in in Firefox, I expect that you have 
installed fonts that support Chinese characters with a command like:

apt-get install fonts-noto

It might also be useful to know your locale. I hope your system and 
filesystem are using UTF-8. What is your filesystem type (ext4? vfat?) 
and what is its filename encoding?

Kind regards,

-- 
Ben Caradoc-Davies <ben@transient.nz>
Director
Transient Software Limited <https://transient.nz/>
New Zealand

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Chinese file name problem in xterm Long Wind <longwind2@yahoo.com> - 2018-05-06 23:30 +0200
  Re: Chinese file name problem in xterm Ben Caradoc-Davies <ben@transient.nz> - 2018-05-06 23:50 +0200
    Re: Chinese file name problem in xterm <tomas@tuxteam.de> - 2018-05-07 07:30 +0200
  Re: Chinese file name problem in xterm Siard <shiems146@kpnplanet.nl> - 2018-05-07 15:00 +0200
    Re: Chinese file name problem in xterm Long Wind <longwind2@yahoo.com> - 2018-05-07 16:10 +0200
  Re: Chinese file name problem in xterm Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2018-05-07 16:10 +0200
  Re: Chinese file name problem in xterm Curt <curty@free.fr> - 2018-05-07 18:00 +0200

csiph-web