Ralf

Topic: Problem with umlauts - but only on the company name?

When I search for a company with an umlaut in the name, I find no results. Searching for jobtitle or cities with umlauts seem to work fine. Where could be that bug?

Example: http://www.jobboard-deutschland.de
search for  "Mülheim" (city) works
search for "Büro" works (jobtitle and jobdescription)
search for "hüttinger": no result (select it from the drop-down "Firmen" works though)

as always: any help or guess where to start is appreciated!
Cheers, Ralf

Last edited by Ralf (2011-06-10 08:22:20)

New jobboard for germany: www.jobboard-deutschland.de it's getting better every day!
Thanks to everyone -specially within this forum- for supporting!

Ralf

Re: Problem with umlauts - but only on the company name?

anyone has the same problem? French? Spanish? Anyone?
Cheers, Ralf

New jobboard for germany: www.jobboard-deutschland.de it's getting better every day!
Thanks to everyone -specially within this forum- for supporting!

Ralf

Re: Problem with umlauts - but only on the company name?

Still no one here to help on the search? The search is the core function - I would really like to hear any ideas. Will it ever work?
Thanks, Ralf

New jobboard for germany: www.jobboard-deutschland.de it's getting better every day!
Thanks to everyone -specially within this forum- for supporting!

putypuruty

Re: Problem with umlauts - but only on the company name?

I had a quick look some time ago but I didn't find the reason for why it's not working. I'll take some time to fix this, OK?

Ralf

Re: Problem with umlauts - but only on the company name?

yes, sure - would be great to get some help on that one. Tell me if I can help - test something - or whatever.
Cheers, Ralf

New jobboard for germany: www.jobboard-deutschland.de it's getting better every day!
Thanks to everyone -specially within this forum- for supporting!

Ralf

Re: Problem with umlauts - but only on the company name?

one more thing that I just found. Maybe it helps?
When we post a job, we add some Keywords at the end - the most important ones. We link them to the search: ...jobboard.../search/keyword - where keyword is obviously the keyword. If there is an umlaut in there, and the search goes e.g. for "/search/Köchin", there are no results. If I change that to "/search/Köchin, the search returns that job. As we post jobs usually through the html interface of the editor - extension by Redjumpsuit, I guess there could be a problem in the replace functionality (of the search or editor?).
Don't know if that helps - just thought I post everything I find.
Cheers, Ralf

New jobboard for germany: www.jobboard-deutschland.de it's getting better every day!
Thanks to everyone -specially within this forum- for supporting!

Ralf

Re: Problem with umlauts - but only on the company name?

It would really be a big thing to get this working. I create a lot of "pseudo pages" for nice usability and the sitemaps that I create with a tool crawling by putting "interesting keywords for this job" at the end of every job. There you can have pages like "http://www.jobboard-deutschland.de/search/Account%20Manager" (where you put "Account Manager" at the URL after search/)
This page is also filled with perfect content - so that could be a nice one for everyone who wants jobberbase to get a lot of links to goolge. It's relevant and good for users as well as search engines. As german language has umlauts this is a real big thing here. I found some confusing resultes when testing. It seems, that it works for the jobtitle but not for text within the jobs. I use TinyMCE to post jobs - don't know if that has anything to do with it.
E.g.:
http://www.jobboard-deutschland.de/sear … hentechnik
in my browser it shows http://www.jobboard-deutschland.de/sear … hentechnik
doesn't work - search word is "Oberflächentechnik"

You can find that word on interesting keywords (Passende Suchbegriffe) at the end of the job
http://www.jobboard-deutschland.de/job/ … nkel-gmbh/

But http://www.jobboard-deutschland.de/search/Gesch%C3%A4ft
Browser shows http://www.jobboard-deutschland.de/search/Geschäft
works. Keyword "Geschäft" (Like in CEO = Geschäftsführer)

It's confusing. Can I do anything to get this fixed? Should I do more testing? What can I try?
As always - any help appreaciated.

Cheers, Ralf

New jobboard for germany: www.jobboard-deutschland.de it's getting better every day!
Thanks to everyone -specially within this forum- for supporting!

Ralf

Re: Problem with umlauts - but only on the company name?

;o) how long would be "some time" ... End of June to End of August?

Seriously - I know there is loads of work out there - for sure for you too.

Can I pay someone to get this fixed? Anyone?

Cheers, Ralf

New jobboard for germany: www.jobboard-deutschland.de it's getting better every day!
Thanks to everyone -specially within this forum- for supporting!

Ralf

Re: Problem with umlauts - but only on the company name?

This problem is an issue - and could be / should be for everyone who has special characters in their language. We need a fix here. Is there any idea out there?

New jobboard for germany: www.jobboard-deutschland.de it's getting better every day!
Thanks to everyone -specially within this forum- for supporting!

hobo

Re: Problem with umlauts - but only on the company name?

Hi Ralf,
Have you tried adding entity_encoding : 'raw' to your template's header.tpl files (frontend and admin) like:

Code:

 tinyMCE_GZ.init({
         plugins : 'style,layer,table,save,advhr,advimage,advlink,media,searchreplace,contextmenu,paste,directionality,nonbreaking,xhtmlxtras',
         themes : 'advanced',
         languages : 'en',
         disk_cache : true,
                 entity_encoding : 'raw',
         debug : false
         });

http://www.tinymce.com/wiki.php/Configuration:entity_encoding

Hope it works, as I will need this fix for adding French to my site.

Try adding new data to test with as old data could be incorrectly encoded already.
Please post if it works.

Ralf

Re: Problem with umlauts - but only on the company name?

no - haven't tried yet. Will do soon! Thanks, Ralf

New jobboard for germany: www.jobboard-deutschland.de it's getting better every day!
Thanks to everyone -specially within this forum- for supporting!

Ralf

Re: Problem with umlauts - but only on the company name?

Thanks to Cosmin, we have a solution for this:

change in _includes/class.Job.php: I've changed line 776 from

Code:

conditions .= 'AND (title LIKE "%' . $keywords_r[$i] . '%" OR description LIKE "%' . $keywords_r[$i] . '%" OR outside_location LIKE "%' . $keywords_r[$i] . '%" '.$check_cities.' ) ';

to

Code:

$conditions .= 'AND (title LIKE "%' . $keywords_r[$i] . '%" OR description LIKE "%' . $keywords_r[$i] . '%" OR company LIKE "%' . $keywords_r[$i] . '%" OR outside_location LIKE "%' . $keywords_r[$i] . '%" '.$check_cities.' ) ';

pretty easy - if you know what to do ;o)

Thanks a 1000 times ;o)

New jobboard for germany: www.jobboard-deutschland.de it's getting better every day!
Thanks to everyone -specially within this forum- for supporting!