[[+content_image]]
A
A
aclase2015-07-26 14:13:47
linux
aclase, 2015-07-26 14:13:47

Centos - Question marks in the terminal, proftpd normal Cyrillic?

For some reason, the Cyrillic alphabet is not displayed in the terminal, or rather the file with question marks (uploaded via FTP):

[[email protected] 1]# echo фъхж
фъхж
[[email protected] 1]# ll
total 308
-rw-r--r-- 1 suomi1 suomi1 312076 Jul 22 23:26 ????.jpg

Browser - The requested URL /images/1/карт.jpg was not found on this server.
On ftp normal display - map.jpg
[[email protected] 1]# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

[[email protected] 1]# cat /etc/sysconfig/i18n
LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"

What could be the problem?

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
R
Ruslan Fedoseev, 2015-07-26
@martin74ua

забудьте про национальные символы в названиях файлов и каталогов, которые выкладываются на веб. Просто забудьте и называйте все латинскими символами.
А чтобы в консоли файлы назывались правильно - проверьте настройки фтп демона, например в proftpd есть перекодировка. Но я бы тоже советовал забыть ;)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question