page alias dislike cyrillic Topic is solved

General project discussion. NOT for help questions.
Post Reply
pishkus

page alias dislike cyrillic

Post 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 :)
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

page alias dislike cyrillic

Post 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.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

page alias dislike cyrillic

Post 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.
piratos

page alias dislike cyrillic

Post 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;
pishkus

page alias dislike cyrillic

Post 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 :!:
Post Reply

Return to “General Discussion”