help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eww can't display Chinese characters correctly.


From: Lars Ingebrigtsen
Subject: Re: Eww can't display Chinese characters correctly.
Date: Mon, 14 Dec 2020 15:41:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Pankaj Jangid <pankaj@codeisgreat.org> writes:

>> On Ubuntu 20.10, I compiled and installed the git master version of
>> emacs. When I try to browse the web with eww, I find that all Chinese
>> characters will show as garbled.
>>
>> Any hints for fixing/solving this problem?
>
> You need ‘set-fontset-font’ to tell Emacs what font to use for the
> (language) script. Example,
>
>   (set-fontset-font t 'devanagari "Noto")
>
> This sets Noto font for Devanagari script in the default fontset. ‘t’ is
> for default fontset.

Emacs should display Chinese characters just fine on its own without any
configuration needed.

But it's hard to tell what the problem is since "garbled" doesn't really
tell us much.  Garbled how?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]