Permalinks name bug in Serendipity 0.9-alpha3
-
DeepKeeper
Permalinks name bug in Serendipity 0.9-alpha3
When title contains russian symbols - it changes to almost random latin characters in Permalink url.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Permalinks name bug in Serendipity 0.9-alpha3
Yes, russian characters are not allowed in the URL and thus are htmlentities-encoded. 
We could strip all the characters, but then you'd see nothing in the URL there...
Regards,
Garvin
We could strip all the characters, but then you'd see nothing in the URL there...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
DeepKeeper
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Is there a PHP function to get the characters? Remember our PHP files are ISO-8859-1 and cannot contain koi or whatever chars inside the file.
Somewhere in include/functions.iunc.php or include/functions_permalinks.inc.php there is a makeFilename() function that does replacements. I'd like not to add too much overhead there, as the function is called quite often...
Regards,
Garvin
Somewhere in include/functions.iunc.php or include/functions_permalinks.inc.php there is a makeFilename() function that does replacements. I'd like not to add too much overhead there, as the function is called quite often...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
What is WRONG? 
Regards,
Garvin
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
DeepKeeper
My english is really bad, sorry.
sent the right version to php-blog-devs@lists.sourceforge.net
The wrong is that the autochange list included not all russian characters and that some of them were autochanged to the same english character.
sent the right version to php-blog-devs@lists.sourceforge.net
The wrong is that the autochange list included not all russian characters and that some of them were autochanged to the same english character.