Re: Character conversions?
| Newsgroups | gmane.comp.cms.jahia.template |
|---|---|
| Message-ID | <OFE8C3C19E.834FEA91-ONC12570FA.00377290-C12570FA.00377294@generic.se> |
Thank You very much for trying to help.
I am using or trying jahia , struts and jstl taglibs.
<content:textField name="genericWordTitle" id="titlefield" valueId="title" />
<bean:write name="titlefield" property="value" filter="false"/>
<bean:write name="title" filter="false"/>
<c:out value="${title}"/>
<c:out value="${titlefield.value}" />
if the field has the value Åland the result will be
Åland // Jahia tag
Åland // struts getting value property
Åland // struts using the string
&Aring;land // jstl using the string and filtering the &
&Aring;land // jstl using the string and filtering the &
So with filtering (jstl) even the output will look bad.
Ok. I have to make a filter and replace the encoded characters, sort, do all other logic then convert the strings back again before I show them.
Regards
/Lars