Seems I have no success...
Did a
export LC_CTYPE=de_DE.UTF-8
and use
DejaVu Sans Mono Book 12
as xterm font.
Can enter, e.g. Σ with CTRL - SHIFT u 03a3 (or simply copy it in xterm).
For 1f512 , i.e. 🔒, still only a blank.
Anything else you specified maybe ?
I have xfce-terminal 1.1.1
Quoting Omar Polo <op@omarpolo.com>:
> On 2023/12/15 15:33:44 -0600, "Jay F. Shachter" <jay@m5.chicago.il.us> wrote:
>>
>> Centuries ago, Nostradamus predicted that Robert Palm would write
>> on Fri Dec 15 15:10:58 2023:
>>
>> >
>> > I am playing with UTF-8 characters and try to display, e.g. a lock
>> > symbol https://www.compart.com/en/unicode/U+1F512
>> >
>> > I use xfce and set the terminal default character encoding to UTF-8 in
>> > advanced settings.
>> >
>> > Still I cannot get it displayed in xterm or emacs, e.g. by simply
>> > trying to copy paste from the website :-/
>> >
>> > Emacs gives a box and xterm a blank.
>
> This is probably 'just' a font issue. For instance, I'm currently using
> DejaVu Sans Mono on xterm and it renders the lock icon for me, while on
> emacs Julia Mono doesn't.
>
> Make sure you have a UTF8 locale set too.
>
>> Does your version of xterm support UTF-8? Uxterm was originally the
>> version of xterm that supported UTF-8. That was a long time ago; on
>> my system, xterm now also supports UTF-8. Maybe on your system you
>> have to install uxterm.
>
> xterm on OpenBSD definitely supports and has utf8 enabled.
No comments:
Post a Comment