Problem User Registration with german äöü (General)

by andreas, Thursday, June 19, 2008, 23:00 (5779 days ago)

hello,
i have installed rc1. It works good, but i have a problem with user registration with usernames include äöü.
E.g username ist "allgäuerpeter", registration and backlink are ok. Account is active,but the user cannot log in.
Note, in the mail the username is: allgäuerpeter. But also with username "allgäuerpeter" i cannot log in.

What can i do?

Thanks
Andreas

locked
3548 views
Avatar

Problem User Registration with german äöü

by Alex ⌂, Friday, June 20, 2008, 11:56 (5779 days ago) @ andreas

Hi,

I just tested to register a user with special characters on this forum and everything seems to be fine (see here).

:confused:

Alex

locked
3275 views

Problem User Registration with german äöü

by andreas, Friday, June 20, 2008, 13:51 (5779 days ago) @ Alex

Hello Alex,
thank you for answer. I`e testet with my two foren and both foren can`t login Username with äöü. Have you any idea that the error could be.
You can test it here: Testforum

Greetings
Andreas

locked
3176 views

Problem User Registration with german äöü

by Wanderer, Monday, June 23, 2008, 21:15 (5776 days ago) @ andreas

Hello Andreas,
i had the same problem, i think there is something wrong with the coding of the characters. I use UTF-8 on all sites of my Homepage, but the Mail has in the "to" Field the Wrong characters and in the Text body everything is OK.
When I'm make the Same thing in this Forum the characters are in both String OK.
I think something on my Server is in ISO-8859-1. I must search.
Greetings
Gregor

locked
3269 views

Problem User Registration with german äöü

by Wanderer, Wednesday, June 25, 2008, 22:25 (5773 days ago) @ Wanderer

Ok,
now I found something.
In UTF-8 a small ö and a strtolower(ö) is not the same, that is the Problem.
In the login.inc.php on row 74 there is a MySQL SELECT statement,
...WHERE lower(user_name) = '".mysql_real_escape_string(strtolower($request_username))..., that is the cause of the Problem.

But I don't understand why in this Forum it is no Problem to Register Usernames with äöüß.

I am hopeful we can find out a solution.

Gregor

locked
3079 views

RSS Feed of thread