search content with special characters fails - FCK

View: New views
3 Messages — Rating Filter:   Alert me  

search content with special characters fails - FCK

by rainer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi list,

we just got the problem that contents stored by the FCK-Editor are not being found by the search - if they contain special characters.

E. g. the searchterm: "türe" doesnt return any results, cause it is persisted as "türe" by the FCK-Editor...

Does anybody know a solution for this? I know that it is possible to tell the FCK not to encode, but if i do so - i have to encode at rendering the view - and this is not possible because the content storde by the FCK contains HTML tags.

thx a lot for any advices

greetings
rainer


Parent Message unknown Re: search content with special characters fails - FCK

by Magnolia - User mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

You can disable entities conversion in FCKEditor by adding these two lines in a custom FCKEditor configuration script:

FCKConfig.IncludeLatinEntities = false ;
FCKConfig.IncludeGreekEntities = false ;

You will have to resave all your content edited with FCKEditor to benefit from this change.

Vincent

-----Original Message-----
From: user-list@... [mailto:user-list@...]
Sent: Tuesday, August 12, 2008 3:26 PM
To: user-list@...
Subject: [magnolia-user] search content with special characters fails - FCK


hi list,

we just got the problem that contents stored by the FCK-Editor are not being
found by the search - if they contain special characters.

E. g. the searchterm: "türe" doesnt return any results, cause it is
persisted as "türe" by the FCK-Editor...

Does anybody know a solution for this? I know that it is possible to tell
the FCK not to encode, but if i do so - i have to encode at rendering the
view - and this is not possible because the content storde by the FCK
contains HTML tags.

thx a lot for any advices

greetings
rainer


--
View this message in context: http://www.nabble.com/search-content-with-special-characters-fails---FCK-tp18944229p18944229.html
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Parent Message unknown Re: search content with special characters fails - FCK

by Magnolia - User mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Aug 12, 2008, at 3:25 PM, rainer wrote:

>
> hi list,
>
> we just got the problem that contents stored by the FCK-Editor are  
> not being
> found by the search - if they contain special characters.
>
> E. g. the searchterm: "türe" doesnt return any results, cause it is
> persisted as "türe" by the FCK-Editor...
>
> Does anybody know a solution for this? I know that it is possible to  
> tell
> the FCK not to encode, but if i do so - i have to encode at  
> rendering the
> view <snip>

Why would you, if the page encoding, response headers etc are set  
properly ?

-g
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------