User login

MetaTraffic 2.0 Boxshot

Foreign letters in Keywords table

Posted by PHL [May 19, 2009]

Hi

The keywords from searches are saved in the database (mt_keywords) - but some of the "foregin" characters are not saved correctly.

The user searched for Århus - but Ã¥rhus was saved in the database.

Any patch for this?

Thanks!

Edit the clsLog.asp file

Open the clsLog.asp file and do a search for "Private Function URLDecode(strDecode)" or a portion of those words around line 754. You will see a bunch of lines of code in that function that look like this:

strDecode = Replace(strDecode, "%C3%A4", "ä")

strDecode = Replace(strDecode, "%C3%B6", "ö")

strDecode = Replace(strDecode, "%E5", "å")

...

You can add your own line below those replace statements with whatever you want decoded differently, I would try something like this:

strDecode = Replace(strDecode, "%C5", "Å")

Hope that helps.