[opencms-dev] Special Characters in navText

Christian Funken c.funken at vucx.de
Wed May 11 16:04:47 CEST 2011


Hi and thanks for the quick response.

The ¿¿¿¿ are seen both on the Properties and on the rendered Navigation. 
However, the same characters work when simply put inside of the page.
The page itself is properly encoded and as I mentioned can display all 
of the characters fine.

The only problem seems to come from the Properties. Pasting the 
characters into the Properties window works and they are displayed 
correctly. Once saved however they show up wrong.

I don't know about the tomcat configurations though. I am only 
developing a template and the only exposure to the tomcat server comes 
from a simple restart script I have to use once in a while.

  - C.Funken


Am 11.05.2011 15:55, schrieb Eska:
> Hi Christian,
>
> do you see the ¿¿¿¿ when looking at the Properties inside of OpenCms or when
> viewing the rendered Navigation? When we have chinese properties somewhere
> the
> correct chinese characters are still present after a save.
>
> Do you start your tomcat with -Dfile.encoding=UTF-8 set?
>
> Perhaps your rendered page does declare to have UTF-8 content?
>
> Eska
>
>
> Christian Funken wrote:
>> Hello there.
>>
>> I'm in the middle of building a location navigation.
>> Of course I'd like to use the navBuilder for this. However, I keep
>> running into the problem that certain characters I need ( Chinese,
>> Indian&  Korean to be precise ) don't seem to work with this.
>> Whenever I try to set the navigation text of these folders to something
>> like 简体中文, all that is left after saving it looks like this : ¿¿¿¿
>>
>> Is there some way to get around this issue and set up the navigation
>> text with the original characters?
>>
>> Thanks and have a nice day.
>> - C.Funken
>>



More information about the opencms-dev mailing list