Welcome to Geeklog, Anonymous Tuesday, January 31 2023 @ 10:02 pm EST

Geeklog Forums

Words including some characters not appearing in search results


Status: offline

aaneiros

Forum User
Junior
Registered: 01/31/04
Posts: 26
confused
Hi. I'm setting up a site in Spanish using the latest version of GL. All Spanish "special" characters are correctly displayed everywhere on the site, except in search results.

Whenever I try searching for a word containing any of those characters (which I know for sure is somewhere in a story), it just won't show up.

Otherwise, the search function works OK. I mean, for all the remaining words which do not contain those particular characters.

In my config.php I have:

Text Formatted Code

$_CONF['language']        = 'spanish';
$_CONF['default_charset'] = 'iso-8859-1';
$_CONF['locale']          = 'es_ES';
 


Regards.
 Quote

Status: offline

aaneiros

Forum User
Junior
Registered: 01/31/04
Posts: 26
Update:

Daily news summary users receive by email also shows weird characters.

I have switched character set to utf-8, locale to es_ES.utf-8 and am using spanish_utf-8 as language file.

Page appears ok but still search function does not show any matches when searching for any
word containing special Spanish characters.

Don't know where else to search....
 Quote

Status: offline

aaneiros

Forum User
Junior
Registered: 01/31/04
Posts: 26
stressed
And one last update. After reading the wiki and checking with my hosting provider, I have created a php.ini file for all my directories containig this:

Text Formatted Code
mbstring.language = Spanish
mbstring.func_overload = 7
mbstring.internal_encoding   = UTF-8
mbstring.http_input = UTF-8
mbstring.http_output = UTF-8
mbstring.encoding_translation = On ; No difference if I turn this On or Off


I don't know much about php; however, my hosting provider insists that these php.ini settings should solve my problem.

Unfortunately, they do not.

Well, I have improved a little bit. Now the search function can find special Spanish characters in titles of static pages, but in titles only,not in the body of the static page nor anywhere else in my site.

Any help or pointer to where I should look would be really appreciated.

Regards.
 Quote

All times are EST. The time is now 10:02 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content