Author |
Message |
Slackervaara
Newbie


Joined: Nov 03, 2007
Posts: 126
|
Posted:
Wed Dec 02, 2009 1:47 pm |
|
I have a site with PHP-Nuke 7.633 and Shortlinks. I have recently started a webmaster account for Google and I get now reports of errors upon crawling. One type of error I get is associated to Shortlinks and the Swedish national characters åäö in URL. When Shortlinks is disabled the åäö workes perfectly, but when Shortlinks is enabled crawling errors occurs, because the åäö in URL with Shortlinks is encoded in UTF-8. I can reproduce identical behaviour with Firefox and Explorer. In the source code of the page it is coded correctly as åäö, but if I click om the link or copy the link to the clipboard it is UTF-8.
Is the a way to stop this conversion to UTF-8 by Shortlinks for 8-bit letters like åäö?
I have found that if I rename the GT-file involved, I can stop Shortlinks for that module, but maybe a better solution is just to take away the lines involved from GT-module.php to just disble the lines causing trouble? It seems at presently be only 3-4 different lines in 3 different modules. |
|
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1399
|
Posted:
Thu Dec 03, 2009 9:08 am |
|
I suspect it will be any lines with say titles in the URL. I don't have an answer for you and could be quite some time before I can even look into it. However, I do not recall doing anything special in the code to "convert to UTF-8". If you look at the code, I am sure you will not see anything like that... this code is very old and NOT really set up for international sites in charactersets other than the ISO-8859-1 unfortunately... |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
|