Webmastersite.net
Register Log In

URL to Categories with Ä not working

Comments on URL to Categories with Ä not working

Starship-Trooper
Experienced

Usergroup: Customer
Joined: Jan 06, 2007

Total Topics: 33
Total Comments: 84
Posted Feb 11, 2007 - 8:17 AM:

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?


Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 11, 2007 - 10:42 PM:

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.
Starship-Trooper
Experienced

Usergroup: Customer
Joined: Jan 06, 2007

Total Topics: 33
Total Comments: 84
Posted Feb 12, 2007 - 6:03 AM:

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?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 13, 2007 - 9:48 PM:

Try german instead of general. I've had reports that it does work with german.
Starship-Trooper
Experienced

Usergroup: Customer
Joined: Jan 06, 2007

Total Topics: 33
Total Comments: 84
Posted Oct 04, 2007 - 8:06 AM:

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
(this is from tweak.php)


Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 04, 2007 - 11:11 PM:

If I recall, only Opera handles accented URLs properly. Feel free to test.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.