Remi Posted February 15, 2012 Posted February 15, 2012 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?
apeisa Posted February 15, 2012 Posted February 15, 2012 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"); ?>
ryan Posted February 17, 2012 Posted February 17, 2012 Thanks Antti, I'm updating this in the default site profile too.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now