Page 1 of 1

Error: invalid last name format :: 常

Posted: Sat Dec 10, 2016 12:08 pm
by a107480098
I come from China, had to control the panel to select the language is Chinese, other languages of our country people can not be understood. Problems when I try to add a user. For example, I add the First Name is: 晓亮, last name: 常, click Add, pop-up error message:Error: invalid last name format :: 常.

Please help me very grateful!

Re: Error: invalid last name format :: 常

Posted: Thu Mar 02, 2017 8:28 pm
by skurudo
Try to fix your locale on server..
I don't really know, how is it to chinese, but for russain letters we did this:

Code: Select all

sed -i "s/# ru_RU/ru_RU/" /etc/locale.gen
sed -i "s/# en_US/en_US/" /etc/locale.gen
locale-gen en_US.UTF-8
locale-gen ru_RU.UTF-8
echo LANG=en_US.UTF-8 > /etc/default/locale
source /etc/default/locale
service vesta restart