After I changed default locale (en_gb) to ru_RU (utf8, default)+en_US(utf-8) and set kitty (like putty) to use utf8, I cant read russian file/dir names bcoz they looks like ??? ??????? (2012). These files is on external HDD, ext4, defaults,noatime (fstab). XBMC displays this correctly.
Maybe I must reboot my PI, i'll try it later.
Let us know
Same, looks like dpkg-reconfigure locales dont work.
This question is first when I Google this thing. How to enable russian(utf8) terminal, keyboard and other?
Terminal
root@xbian:/home/xbian# locale -a
C
C.UTF-8
POSIX
en_US.utf8
ru_RU.utf8
root@xbian:/home/xbian# locale
LANG=ru_RU.UTF-8
LANGUAGE=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C
When I used raspbian, I only need to reconfigure locales to add default ru_RU(utf8) and all works. But with xbian it didnt do what I expect.
Can you post your /etc/profile here?
Terminal
root@xbian:/home/xbian# cat /etc/profile
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "`id -u`" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
fi
export PATH
export LANG=C
export LC_ALL=C
export LANGUAGE=C
if [ "$PS1" ]; then
if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then
# The file bash.bashrc already sets the default PS1.
# PS1=h:w$
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1=#
else
PS1=$
fi
fi
fi
# The default umask is now handled by pam_umask.
# See pam_umask(8) and /etc/login.defs.
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
Maybe I will reinstall xbian from zero today. What I must do to enable russian lang, keyboard, filenames support?
Code:
dpkg-reconfigure locales
Make sure you select a UTF-8 locale.
Can you try this:
Code:
sed -i 's/ SendEnv LANG LC_\*/# SendEnv LANG LC_\*/g' /etc/ssh/ssh_config
And then reboot and relogin with ssh
Then i don't know how to do it.
Nice =)
Then this question:
By default, is there everything needed to display Russian filenames? In theory, after clean install && dpkg-reconf locales add ru_RU utf8 all must works, right?