Search with special character

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
12/15/2009 2:56:01 AM
Gravatar
Total Posts 4

Search with special character

I've got some problems with the search-engine of mojoportal. The site I built has a German interface. The German language has certain characters called "umlaute" (for example "ö" >> ascii-code 148).

First problem i had was the search for these characters. There where no results by the search within one or more of these characters search will not work and is shown by "ö" in the search field.

After the update to the latest version (2.3.3.0 MSSQL) the problem with the "ö" is solved.
But there is already shown "No results found." by searching with a word that contains a special character (and there are many sites within this word).

The "globalization culture" is set by German in the web.config.


Anybody an idea?

 

operating system >> Windows 7
What database platform >> MSSQL 2005
What version of mojoPortal >> 2.3.3.0

12/15/2009 5:49:20 AM
Gravatar
Total Posts 18439

Re: Search with special character

Hi Roland,

It seems to be a bug, I am able to produce the problem on my machine so I am looking into it now.

Best,

Joe 

12/15/2009 7:05:12 AM
Gravatar
Total Posts 18439

Re: Search with special character

Hi Roland,

I figured out the problem is that TinyMCE editor is encoding those characters so it is going into the database and search index as encoded and therefore fails to match in search results. I think I can solve this issue by configuration of TinyMCE, but for now as a workaround I recommend enter the content using FCKeditor which does not encode the characters so it works.

Best,

Joe

12/15/2009 7:13:52 AM
Gravatar
Total Posts 18439

Re: Search with special character

Update, I was able to fix this by configuration of TinyMCE, so this will be fixed in the next release of mojoPortal coming soon, in the meantime if you use FCKeditor to enter content and it will work correctly.

Thanks for reporting this issue.

Best,

Joe

12/15/2009 7:20:06 AM
Gravatar
Total Posts 4

Re: Search with special character

Hi Joe

I've just tried it out. And had the same problem with the FCKeditor (also when i insert new html-site).
But even I change to CKEditor, the search works fine.

Till the update i'll use the CKEditor.


Thanks for your fast and competent answer.

Roland

3/22/2010 9:24:52 AM
Gravatar
Total Posts 4

Re: Search with special character

Hi Joe

I just updated to the version 2.3.3.9 (with mssql) to be sure to work with the latest version.

Now i've a new problem: when i do a search with an 'umlaut' (like ä, ö or ü) the search the result is nothing. The same effect in the online-demo. Just try it out: insert a word like 'schön' (it means pretty ;-) ) an do a search for it after save.

Note: the search in this forum with 'ö' works fine ... why?

 

Do you know the reason for this 'feature'?
 

Greets Roland

3/25/2010 12:22:04 PM
Gravatar
Total Posts 18439

Re: Search with special character

Hi Roland,

This is a configuration bug in the CKeditor, it is html encoding the special characters like this: like ä, ö or ü and the characters go into the database that way and this causes also the content to not be indexed correctly.

I jut fixed this in my copy so it will be fixed in the next release.

In the mean time you can use TinyMCE or FCKeditor and then new content you create will not be encoded. You may need to manually fix content that is already affected.

Hope it helps,

Joe

3/26/2010 9:37:59 AM
Gravatar
Total Posts 4

Re: Search with special character

Hi Joe

Badly it helps not. I changed the Editor for the site to TinyMCE. After that I inserted a new content with a certain special char.
But the search is still empty :-(.

Any other idea?

Best Roland

3/27/2010 10:59:35 AM
Gravatar
Total Posts 18439

Re: Search with special character

Hi Roland,

How long did you wait before you tried to search after you updated the content? Search engine is not updated instantly, it takes a few minutes.

If the problem persists please look in the database and confirm whether the content is html encoded in the db or not, it should not be.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.