Re: [PossibleSpam] UTF-8 chars

2023-12-19 Thread Omar Polo
On 2023/12/16 20:12:16 +0100, Robert Palm  wrote:
> 
> Thanks again to all of you!
> 
> xterm is now working!!!
> 
> Still, xfce4-terminal doesn't seem to use this settings.
> 
> Don't dare to ask where that setting is digged.

I tried for curiosity and xfce4-terminal doesn't show the lock icon for
me either ( -- U+1F512) but japanese input (via fcitx) works which I
find curious.  I tried with several fonts (DejaVu, JuliaMono, IBM Plex,
Iosevka).



Re: [PossibleSpam] UTF-8 chars

2023-12-16 Thread Robert Palm



Thanks again to all of you!

xterm is now working!!!

Still, xfce4-terminal doesn't seem to use this settings.

Don't dare to ask where that setting is digged.


Quoting Omar Polo :


On 2023/12/16 12:08:03 +0100, Nowarez Market  wrote:


Using xterm,
then CTRL + Right click,
I add TrueType and I can display the lock:

https://5md.es/l/2cc972f

Seems you need a TrueType font do display the trick...


Yes, the default 'fixed' font has some 'fancy' character in it but not
much else.

The alternative is to run xterm with -fa 'Font Name' or something like
this to your ~/.Xdefaults (and then xrdb -load ~/.Xdefaults dependending
on your configuration)

XTerm*faceName: xft:DejaVu Sans Mono:pixelsize=10

also...


Robert Palm  wrote:

>
> Seems I have no success...
>
> Did a
>
> export LC_CTYPE=de_DE.UTF-8


How did you ran this?  Running *inside* the terminal emulator won't
change anything.  I don't know if xfce sets up this var by itself, but
usually you'd need it in your ~/.xsession file.






Re: [PossibleSpam] UTF-8 chars

2023-12-16 Thread Omar Polo
On 2023/12/16 12:08:03 +0100, Nowarez Market  wrote:
> 
> Using xterm, 
> then CTRL + Right click, 
> I add TrueType and I can display the lock:
> 
> https://5md.es/l/2cc972f
> 
> Seems you need a TrueType font do display the trick...

Yes, the default 'fixed' font has some 'fancy' character in it but not
much else.

The alternative is to run xterm with -fa 'Font Name' or something like
this to your ~/.Xdefaults (and then xrdb -load ~/.Xdefaults dependending
on your configuration)

XTerm*faceName: xft:DejaVu Sans Mono:pixelsize=10

also...

> Robert Palm  wrote:
> 
> > 
> > Seems I have no success...
> > 
> > Did a
> > 
> > export LC_CTYPE=de_DE.UTF-8

How did you ran this?  Running *inside* the terminal emulator won't
change anything.  I don't know if xfce sets up this var by itself, but
usually you'd need it in your ~/.xsession file.



Re: [PossibleSpam] UTF-8 chars

2023-12-16 Thread Nowarez Market


Using xterm, 
then CTRL + Right click, 
I add TrueType and I can display the lock:

https://5md.es/l/2cc972f

Seems you need a TrueType font do display the trick...


== Nowarez Market


Robert Palm  wrote:

> 
> Seems I have no success...
> 



Re: [PossibleSpam] UTF-8 chars

2023-12-16 Thread Robert Palm



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 :


On 2023/12/15 15:33:44 -0600, "Jay F. Shachter"  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.






Re: [PossibleSpam] UTF-8 chars

2023-12-15 Thread Omar Polo
On 2023/12/15 15:33:44 -0600, "Jay F. Shachter"  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.



Re: [PossibleSpam] UTF-8 chars

2023-12-15 Thread Jay F. Shachter


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.
> 

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.

Jay F. Shachter
6424 North Whipple Street
Chicago IL  60645-4111
(1-773)7613784   landline
(1-410)9964737   GoogleVoice
j...@m5.chicago.il.us
http://m5.chicago.il.us

"Quidquid latine dictum sit, altum videtur"