Solved Can't print accented characters in terminal...

Hello, I am French!
Thus, I would like accented characters to get printed properly...

I am using konsole to ssh into my server...
I tweaked some files following instructions from that page : https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localization.html
and for now accented characters are replaced by the "default unrecognised character", something like that : <?>

In rc.conf:
Code:
keymap="fr.iso.acc"
font8x16=iso15-8x16
font8x14=iso15-8x14
font8x8=iso15-8x8

In ~/.login_conf:
Code:
me:\
:charset=iso-8859-15:\
:lang=fr_FR.ISO8859-15:

In /etc/ttys I changed all ttyv* term type from "xterm" to "cons25l1"...

But env still prints :
Code:
TERM=xterm-256color

What's wrong? I wonder where that env variable is set...
 
I use UTF8 and it displays French characters on the command line and in my editor.
Code:
éèêàâùûç: Command not found.
 
Oh yeay! That works..!

UTF-8 rules!

So, no need for font setting in rc.conf nor changing default term type in /etc/ttys...

Just setting in ~/.login_conf:
Code:
me:\
:charset=UTF-8:\
:lang=fr_FR.UTF-8:

And don't forget to cap_mkdb ~/.login_conf to apply the changes :)
 
Back
Top