Hello!
Tell me please, can I allow users to use usernames with non English letters? Where I need to enter needed characters?
Beforehand many thanks!
yes, you can enter non-ascii chars as usernames. I don't understand the second part of your question - you enter the name using your keyboard, with encoding set to your language as well as keyboard layout. There have been issues with chinese usernames in the past though, but I don't remember what exactly happened and if/how it was fixed.
Hello!
When users in our gallery trying to register with russian usernames they got a message that username must be longer than 2 characters. I think I need to add russian characters in the the script where listed allowed characters for usernames.
Beforehand many thanks!
post a link to your page, I guess you're using an outdated version - the 2 char warning sounds familiar...
http://xrays.com.ru/coppermine/index.php
Thank you!
I use Coppermine 1.4.3 (stable), which I've downloaded from http://sourceforge.net/project/showfiles.php?group_id=89658.
Help me please to allow users to use russian characters in usernames.
Beforehand many thanks!
You need to switch to utf8 encoding for the string length functions to work properly.
I can not switch encoding to UTF-8 because whole site with a JS-menu in WIndows-1251, if I switch to UTF-8 I got problems.
Can I solve this problem without changing encoding?
Thank you!
Sure, just rewrite Coppermine's utf_* functions to work with your encoding instead.
- You might be able to do something if you can get the mbstring extension installed.
Cool;) Tell me please, in what file I can rewrite Coppermine's utf_* functions?
Thanks!
include/mb.inc.php
It works, thank you!