enable unicode

You can change that in your /etc/login.conf (login.conf(5)). The usual way is to create groups named german, russian ... and set things up for these groups in the login.conf file.

Alternatively every user can override the system settings in the file ~/.login_conf.
 
The following entries in login.conf don't help:
:charset=UTF-8:\
:lang=de_DE.UTF-8:\

However 'LC_ALL=en_US.UTF-8 xterm' works well.
Nonetheless it works with xterm only.
Is there any way to leverage utf-8 with konsole?
 
Have you run cap_mkdb?

Are you talking about a plain console? There's something in the ports, but it only works on i386.
 
LC_ALL=en_US.UTF-8 xterm
works well while no other program seems to be capable of processing unicode characters by the time.
f.i. 'LC_ALL=en_US.UTF-8 konsole' does not work at all.
 
Did you read the manual page?

You have to run cap_mkdb on the login.conf file after changing it:
login.conf(5) said:
The default /etc/login.conf shipped with FreeBSD is an out of the box
configuration. Whenever changes to this, or the user's ~/.login_conf,
file are made, the modifications will not be picked up until cap_mkdb(1)
is used to compile the file into a database. This database file will
have a .db extension and is accessed through cgetent(3). See getcap(3)
for a more in-depth description of the format of a capability database.
 
cap_mkdb /etc/login.conf
konsole &
... and any newly launched konsole will use unicode characters
 
However, konqueror still displays unicode file names wrong and VLC still refuses to open files which names contain unicode characters;
- despite of a customized locale & cap_mkdb.
 
cap_mkdb /etc/login.conf

Besides this it is important the LC_ALL environment variable is already set on program invocation. Then it should also work with konsole & konqueror.
 
The following entries are the correct entries for /etc/login.conf:
Code:
	:charset=de_DE.UTF-8: \
	:lang=de_DE.UTF-8: \
do not prepend LANG to de_DE.UTF-8 because otherwise LANG will go into the MM_CHARSET and LANG environment variables.
 
Back
Top