Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
Slackervaara
Newbie
Newbie



Joined: Nov 03, 2007
Posts: 126

PostPosted: Wed Dec 02, 2009 1:47 pm Reply with quote

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.
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Thu Dec 03, 2009 9:08 am Reply with quote

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, youre overdoing it.
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©
linear-bunch
linear-bunch
linear-bunch