Jump to content

[SOLVED] Problem with search input after searching


Remi
 Share

Recommended Posts

I've got a problem with search input after searching. There should be visible searched word, and there is until I don't use national specific characters like: ą, ć, ę, ł, etc... For example I'm typing "źródło" on my site and I've got correct results, but in the search input there is "źródÅ�o". Right now I'm using standard template.

How can I solve this problem?

Link to comment
Share on other sites

Hi RTurala and welcome to forums.

If you are using demo site, then look for line 90 on head.inc:

<?php echo htmlentities($input->whitelist('q'), ENT_QUOTES); ?>

and change it to

<?php echo htmlentities($input->whitelist('q'), ENT_QUOTES, "UTF-8"); ?>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...