Hi all,

I'm new to XML, XSL, Cocoon and Lenya, but it sounds wonderfull.
So I started to build an intranet using Lenya using the default publication.

I've been able to put about 50 pages on line and now I need to get a search 
engine working, so I tried embeded Lucene.
It works fine while I use ASCII only characters in the query string. When I try 
french words (chèque for exemple) I do not get any results and the 
search-and-results page display strange characters into the query string 
(chèque gets converted to chèque).
I added some debug messages in search-and-results.xsp page:
System.err.println(urlQuerystring);
System.err.println(<xsp-request:get-character-encoding/>);
System.err.println(query);

When I search for "chèque", I get:
lenya.usecase=search&query=ch%C3%A8que&language=fr&lenya.usecase=search&query=ch
%C3%A8que&language=fr
UTF-8
ch?¿que

When I change the web page encoding (in FireFox) to iso-8859-1, I get:
lenya.usecase=search&query=ch%E8que&language=fr&lenya.usecase=search&query=ch%E8
que&language=fr
UTF-8
chÞque

And YES, I get results.
If I enter "?lenya.usecase=search&query=ch%E8que&language=fr" as URL, I get the 
same results.

I tried to dig everywhere, but didn't found a solution.
If I could solve this issue for my demo on friday, it would be great.

A last word, I use Leny 1.2.5-dev from SVN.

Any help will be welcome.
Thanks in advance.
R.Y. Lorin


------------------------------
Ce message est protege par les regles relatives au secret des correspondances ; 
il peut en outre contenir des informations a caractere confidentiel ou 
protegees par differentes regles et notamment le secret des affaires ; il est 
etabli a destination exclusive de son destinataire. Toute divulgation, 
utilisation, diffusion ou reproduction (totale ou partielle) de ce message, ou 
des informations qu'il contient, doit etre prealablement autorisee. 
Tout message electronique est susceptible d'alteration et son integrite ne peut 
etre assuree. Les AGF declinent toute responsabilite au titre de ce message 
s'il a ete modifie ou falsifie. 
Si vous n'etes pas destinataire de ce message, merci de le detruire 
immediatement et d'avertir l'expediteur de l'erreur de distribution et de la 
destruction du message.
This message is protected by the secrecy of correspondence rules ; furthermore 
it may contain privileged or confidential information that is protected by law, 
notably by the secrecy of business relations rule ; it is intended solely for 
the attention of   the addressee . Any disclosure, use, dissemination or 
reproduction (either whole or  partial) of this message or the information 
contained herein is strictly prohibited without prior consent.
Any electronic message  is susceptible to alteration  and  its integrity can 
not be assured.  AGF declines any  responsibility for  this message in the 
event of  alteration  or falsification..
If you are not the intended  recipient, please destroy it immediately and  
notify the sender of the wrong delivery and the mail deletion. 
------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to