The Joomla! Forum ™





Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Thu Jul 12, 2007 9:38 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Thu Aug 18, 2005 5:34 pm
Posts: 1871
Location: BH/MG - Brasil
Description:
I am with problems in the research for words with accents in the Joomla! The Component if has not held well. Here it is some cases:
1. - When it locates not "mark" the word searched in the result page;
2. - Nor always he locates accented terms;
3. - If the searched word appears in 10 itens different the search system does not return the 10 itens and yes 2 or 3.

Reported on:
Joomla! 1.0.12 Stabled

Classification:
[Q&T] Critical/High/Medium/Low/Enhancement

Affected functions:
Search

Related files:
mambots/search/content.searchbot.php - maybe!

Steps to replicate:
Website: http://www.cedeplar.ufmg.br
For Example: It makes a search for the words ->  Microrregiões and Homogêneas or "Microrregiões Homogêneas"
This words apears in -> http://www.cedeplar.ufmg.br/lca/recursos.php


Analysis:
[Q&T] Confirmed/Unable to confirm/Rejected
Any other comments

Proposed fix(es):
Sorry, I did not discover nothing that can help

Topic / Artifact ID:
http://forum.joomla.org/index.php/topic,189891.0.html
http://forum.joomla.org/index.php/topic,178895.0.html

System info:

PHP built On: Linux mirage 2.6.13-15.15-smp #1 SMP Mon Feb 26 14:11:33 UTC 2007 i686
Database Version: 4.1.10a
PHP Version: 4.4.0
Web Server: Apache
WebServer to PHP interface: apache2handler
Joomla! Version: Joomla! 1.0.12 Stable [ Sunfire ] 25 December 2006 01:00 UTC
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Relevant PHP Settings:
Joomla! Register Globals Emulation: OFF
Register Globals: OFF
Magic Quotes: ON
Safe Mode: OFF
File Uploads: ON
Session auto start: OFF
Session save path: /var/lib/php
Short Open Tags: ON
Output Buffering: OFF
Open basedir: none
Display Errors: ON
XML enabled: Yes
Zlib enabled: Yes
Disabled Functions: none

_________________
http://www.danielcorrea.me
http://www.joomleiros.com


Last edited by pchardnet on Thu Jul 12, 2007 9:40 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Fri Jul 13, 2007 6:31 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 14956
Location: **Translation Matters**
The solution I use is to enter any content as raw in the database.
Using JCE editor and its "raw" parameter, accented letters are entered as they are and not as html entities, thus the search is working.

It would be great indeed if the search component could recognize html entities natively.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Multilanguage in 1.7: http://help.joomla.org/files/EN-GB_mult ... torial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Fri Jul 13, 2007 3:27 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Thu Aug 18, 2005 5:34 pm
Posts: 1871
Location: BH/MG - Brasil
Jean, ok, I correct my database and config JCE for "raw" parameter.

But, this problem is of the Joomla! or of the publisher?

_________________
http://www.danielcorrea.me
http://www.joomleiros.com


Top
 Profile  
 
PostPosted: Sat Jul 14, 2007 4:24 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 14956
Location: **Translation Matters**
Joomla code should be able to solve that whatever the Editor.
I have reported this bug and hope for a solution in next security release 1.0.13

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Multilanguage in 1.7: http://help.joomla.org/files/EN-GB_mult ... torial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Wed Jul 18, 2007 5:51 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Thu Aug 18, 2005 5:34 pm
Posts: 1871
Location: BH/MG - Brasil
Thank you!

_________________
http://www.danielcorrea.me
http://www.joomleiros.com


Top
 Profile  
 
PostPosted: Mon Aug 13, 2007 11:38 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Jun 20, 2007 2:14 pm
Posts: 11
Please Can you explain more in detail ? 
I have already entered a bunch of articles in french and the search does not work with accents... 
Now I just intsalled JCE ,  but then what ?  Where is this parameter for ''raw'' ?
Can I convert de texts that are alreay stored ?, If not,. what do i do ?

Thank you


Top
 Profile  
 
PostPosted: Tue Aug 14, 2007 8:11 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 14956
Location: **Translation Matters**
underskin wrote:
Please Can you explain more in detail ? 
I have already entered a bunch of articles in french and the search does not work with accents... 
Now I just intsalled JCE ,  but then what ?  Where is this parameter for ''raw'' ?
Can I convert de texts that are alreay stored ?, If not,. what do i do ?

Thank you


The parameter for raw shows in the mambot manager when editing the JCE mambot
Right column
Entity Encoding -> raw

Concerning the text already entered, there is only one way I know: exporting the database and mass change in a text editor the hmlentities to the real character, then reimporting the changes.
You can do that with the content table only I guess.

changes are of the kind:
é or é  to  é
à to à

etc.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Multilanguage in 1.7: http://help.joomla.org/files/EN-GB_mult ... torial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 



Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group