Support forum login

©2006-2012 IAAI Software

Contact Us Privacy Policy

Help for other users: Problems whith special characters

Submitted by Peter on Sat, 2006-08-05 13:39.

Hello @ all,

David helps me so much, so i whant help other users:

I had the problem whith special characters in the category. Some people from other countrys have the same problem.
E.g. Ä, Ö, Ü,...

So i made following changes:

/categories.php
coment out following:

    if (!widget_errorCount())
    {
      $_POST["name"] = trim($_POST["name"]);
// if(!ereg("^[0-9a-zA-Z\. ]{0,255}$",widget_posted($_POST["name"])))
// {
// widget_errorSet("name","category name contains invalid characters");
// }
    }

Then in /search.php change follwing:

  $q = (isset($_GET["q"])?tapestry_normalise($_GET["q"],":\."):"");

To
  $q = (isset($_GET["q"])?tapestry_normalise($_GET["q"],"äöü&>:\."):"");

If you need other signs as äöü... change this.

On my page this works without problems.

If there are problems on your side, please tell me.

Cheers, Peter