Again, about this topic. (V 4.0.14) I create a Category or sub- with a special character (e.g. Bär), which exists in the used charset. The default convertion of the character from Ä to A has been done correctly, so the (mod rewrite) URL is /Bar
But it is not possible to get into that category, it says there's no content, but it should. I believe this is a bug.
After i rename the category itself to "Bar" and regenerate, it works, but that's not what i wanna do each time. It's clear I should maybe restrict the user to default characters, but anyhow, as the URL is created, why shouldn't this work?
That means the mysql field character set isn't set correctly for the language, so it doesn't know that ä should match a. Use phpmyadmin to check the wsnlinks_category name and parentnames sets.
is the following a good idea? is it a alternative to converting Ä's to A's in the URL? I dont know if browsers or servers might have problems with that..?
$allowaccents = false; // make true to do url rewriting with accented characters in urls
Comments on URL to Categories with Ä not working
Experienced
Usergroup: Customer
Joined: Jan 06, 2007
Total Topics: 33
Total Comments: 84
Again, about this topic. (V 4.0.14)
I create a Category or sub- with a special character (e.g. Bär), which exists in the used charset. The default convertion of the character from Ä to A has been done correctly, so the (mod rewrite) URL is /Bar
But it is not possible to get into that category, it says there's no content, but it should. I believe this is a bug.
After i rename the category itself to "Bar" and regenerate, it works, but that's not what i wanna do each time. It's clear I should maybe restrict the user to default characters, but anyhow, as the URL is created, why shouldn't this work?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
That means the mysql field character set isn't set correctly for the language, so it doesn't know that ä should match a. Use phpmyadmin to check the wsnlinks_category name and parentnames sets.
Experienced
Usergroup: Customer
Joined: Jan 06, 2007
Total Topics: 33
Total Comments: 84
i checked and as far as i understand this, it is set correctly:
latin1_general_ci for both (well, this is set for all).
- latin1_general supports all the western european characters.
- _ci will 'make ä to a' and is case insensitive etc. this should be ok.
So any other idea?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Try german instead of general. I've had reports that it does work with german.
Experienced
Usergroup: Customer
Joined: Jan 06, 2007
Total Topics: 33
Total Comments: 84
is the following a good idea? is it a alternative to converting Ä's to A's in the URL? I dont know if browsers or servers might have problems with that..?
(this is from tweak.php)
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
If I recall, only Opera handles accented URLs properly. Feel free to test.