Hi list<br><br>I finally have a solution for my (this) problem:<br>You can read about it here <a href="http://cocaman.ch/wp/opencms-create-a-search-with-umlaut-and-other-signs/">http://cocaman.ch/wp/opencms-create-a-search-with-umlaut-and-other-signs/
</a><br><br>If you have any comments, please let me know.<br><br>Regards<br>-- Corsin<br><br><div><span class="gmail_quote">On 2/24/06, <b class="gmail_sendername">Claus Priisholm</b> <<a href="mailto:cpr@codedroids.com">
cpr@codedroids.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">If the string you receive as a parameter in your code is garbled as soon
<br>as you get it, you're probably running into the problem that tomcat uses<br>some default encoding for the parameter because it does not explicitly<br>have an encoding.<br><br>It typically works when testing inside the workplace since it seems to
<br>set the encoding to UTF-8 before accessing any parameter. That does not<br>happen when accessing the page directly (and I haven't found a way to<br>consistently make it do so - maybe there is some Tomcat setting).<br>
Anyway, this also seem to be an issue related to the browser and whether<br>you post or get...<br><br>So I decided to take a defensive approach and not trust anything. I<br>include a hidden field with a value like ö and checks upon return if
<br>that value is still an ö or it has been garbled. If it is garbled,<br>convert the strings from ISO-8859-1 (which on the installations I've<br>tried seems to be what tomcat defaults to) to UTF-8.<br><br>regards<br>Claus
<br><br>Corsin Camichel wrote:<br>> Hi Jon<br>><br>> Thanks for your response.<br>> No, I can deactivate the translation part and still getting the wrong<br>> queryString.<br>><br>> Corsin<br>><br>
> On 2/24/06, *Jonathan Woods * <<a href="mailto:jonathan.woods@scintillance.com">jonathan.woods@scintillance.com</a><br>> <mailto:<a href="mailto:jonathan.woods@scintillance.com">jonathan.woods@scintillance.com
</a>>> wrote:<br>><br>> Corsin -<br>><br>> Is opencms-vfs.xml relevant here? It has a <translations> element<br>> which does all of that nasty Anglicisation!<br>><br>> Jon
<br>><br>> ------------------------------------------------------------------------<br>> *From:* <a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a><br>> <mailto:
<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a>><br>> [mailto:<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a><br>> <mailto:<a href="mailto:opencms-dev-bounces@opencms.org">
opencms-dev-bounces@opencms.org</a>>] *On Behalf Of *Corsin Camichel<br>> *Sent:* 24 February 2006 09:42<br>> *To:* The OpenCms mailing list<br>> *Subject:* [opencms-dev] Lucene search an german umlauts
<br>><br>> Hi List<br>><br>> while creating the search part for a site, I came across the same<br>> problem with the lucene search as I always have. But this time, I do<br>> not want to create some nasty "search Creator" page that replaces
<br>> German umlauts (äöü) with their html code. I made a lot of research<br>> in this problem and I have found is, that somehow it has to be<br>> possible. Why? The site from the "Erzbistum Köln" (created by
<br>> Alkacon last year) has exactly this functionality.<br>> Link:<br>> <a href="http://www.erzbistum-koeln.de/system/modules/org.opencms.frontend.templateone/pages/search.html">http://www.erzbistum-koeln.de/system/modules/org.opencms.frontend.templateone/pages/search.html
</a><br>> <<a href="http://www.erzbistum-koeln.de/system/modules/org.opencms.frontend.templateone/pages/search.html">http://www.erzbistum-koeln.de/system/modules/org.opencms.frontend.templateone/pages/search.html
</a>><br>> If you do a query for "köln" and click through the sites ( 1 | 2 |<br>> 3...) the query "köln" stays as it should. In my cases, it changes<br>> to something like "k%öln" and lucene has no more search results.
<br>> I tried the set my search page to UTF-8,ISO-8859-1 but nothing helps.<br>><br>> Has anybody of you an idea how I can solve this?<br>><br>> Hope to hear from you soon<br>><br>> Regards
<br>> Corsin<br>><br>> --<br>> Corsin Camichel<br>> <a href="mailto:cocaman@gmail.com">cocaman@gmail.com</a> <mailto:<a href="mailto:cocaman@gmail.com">cocaman@gmail.com</a>><br>><br>
><br>> _______________________________________________<br>> This mail is sent to you from the opencms-dev mailing list<br>> To change your list options, or to unsubscribe from the list, please<br>> visit
<br>> <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>><br>><br>><br>><br>> --<br>> Corsin Camichel<br>> <a href="mailto:cocaman@gmail.com">
cocaman@gmail.com</a> <mailto:<a href="mailto:cocaman@gmail.com">cocaman@gmail.com</a>><br>><br>><br>> ------------------------------------------------------------------------<br>><br>><br>> _______________________________________________
<br>> This mail is sent to you from the opencms-dev mailing list<br>> To change your list options, or to unsubscribe from the list, please visit<br>> <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">
http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br><br>--<br>Claus Priisholm, CodeDroids ApS<br>Phone: +45 48 22 46 46<br>cpr (you know what) <a href="http://codedroids.com">codedroids.com</a> - <a href="http://www.codedroids.com">
http://www.codedroids.com</a><br>cpr (you know what) <a href="http://interlet.dk">interlet.dk</a> - <a href="http://www.interlet.dk">http://www.interlet.dk</a><br>--<br>Javadocs and other OpenCms stuff:<br><a href="http://www.codedroids.com/community/opencms">
http://www.codedroids.com/community/opencms</a><br><br><br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit
<br><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Corsin Camichel<br><a href="mailto:cocaman@gmail.com">
cocaman@gmail.com</a>