Page 1 of 1

page alias dislike cyrillic

Posted: Wed Nov 10, 2004 10:06 pm
by pishkus
hi all,

recently i have encountered a problem: i create a new content, define a title, a menu text, and a page alias. everything looks simple. only one but. the title and the menu text is in cyrillic symbols, so the page alias changes to a '-' symbol (without quotes). i try to define the page alias once again, but it changes to '-' again and again.

does anyone of You, kind sirs, have a solution for this?
thank you for your patience :)

page alias dislike cyrillic

Posted: Thu Nov 11, 2004 12:02 am
by Ted
Well, easiest thing to do would be to turn off auto_alias_content in config.php. This will let you set them by hand. However, there will also be some fixes to auto alias in 0.7.2 (due tonight) that will make the auto alias a little more friendly. But, I'm still pretty sure that auto won't handle cyrillic characters properly, because of PHP's bad implementation of \W in regex. Maybe I'll give that a quick check before I release it.

page alias dislike cyrillic

Posted: Thu Nov 11, 2004 12:33 am
by Ted
Umm. I really wasn't thinking with my last post. Page alias is mainly used for an alternate URL. According to the URL and URI specs, they can only be US-ASCII.

So, it's working as it should, but auto alias should probably be shut off if you're working in a non ASCII environment.

page alias dislike cyrillic

Posted: Thu Nov 11, 2004 1:35 pm
by piratos
I made a new installation with 0.7.2,

If i change the default content Congratulations! You now have ...

to üöäÜÖÄß
Congratulations! You now have a ...

and will save it , it does not work.

I get the Error $lang['admin']['aliasmustbelettersandnumbers']

No changes in work if i set $config["auto_alias_content"] = false; in config.php

If i make a new content with üöäÜÖÄß it works, it works to with $config["auto_alias_content"] = true;

page alias dislike cyrillic

Posted: Thu Nov 11, 2004 9:55 pm
by pishkus
wishy wrote:Well, easiest thing to do would be to turn off auto_alias_content in config.php. This will let you set them by hand.
thanks mate, that helped a lot! stupid me not to work this out by myself.
keep up the good work :!: