I looked att the demo site and it looks nice but I am sorry to say that it does not solve my problem.
I have to explain!
The characters are perfectly displayed by the web browser but if you look att the html source you can se the ÅÄÖ
It is actually very god to use this encoded style because it works everywhere.
My problem is not about the display (which is god) but about that I currently do not know how to get the original characters from the Jahia Field object. Of course I can convert them back again character for character but it would be better if I could get the original string by using some alternative property.
I looked into the database and the values seems to be stored as UTF8 encoded.
I have done a lot of template developing but always try do it by using taglibs.
There may be a way to do it by using the jahia java api in the jsp template.
What I am trying to do is a wordlist template. A sort of index page like the java doc index page. There is a description field and an optional link for each word as well.
When I iterate over the words I look for the first character because I want to create row with links (A B C D...) but only if there is at least one occurence.
I also want to sort the container objects by the word (titles).
The sorting does not work att all because the ÅÄÖ will put words like Åland and Öland before Alfa, Beta,Gamma.
So I repeat the question: When is the conversion Åland -> Åland taking place and is the original word available?
Regards
/Lars Hagrot
To: <[email protected]>
From: Stéphane Croisier <[EMAIL PROTECTED]>
Date: 01/17/2006 02:23PM
Subject: Re: Character conversions?
Just tested on the online demo... and itseems to works fine:
http://www.jahia.org/demo/Jahia/pid/1
At 14:14 17.01.2006, you wrote:Jahia 4.1.0_01 configured for UTF-8 and database is MySql configured for UTF8.
I think the conversion is done by jahia but of course I can navigate to a database table of your suggestion and do a select to find out what's in the database.
I have seen some getHtml method in the jahia java source which replaces characters like the one I ask about and of course I can browse the sources to find out if it is called before the field is stored but I could spare time by asking you gurus.
Regards
/Lars
