I'm having a annoying problem. I use IntelliJ IDEA 8.1.1 #9805 and my project is configured to use UTF-8 encoding. The problem is, I made a page (using zk framework, bu I don't it matters) to build a tree for a menu:
And the first item of the tree is:
<treecell label="Página Inicial"/>
This was working and the "á" character appears correct on the browser. But I need to to build the menu from the code to it be dynamic, so I did a java file with this:
menuItems = new ArrayList();
And bound the page to this menuItems, and now when the page is loaded in the browser I get this: "PÃ¡gina Inicial". The meta content type is set correctly to UTF-8.
It only works if I change it to menuItems.add("P\u00E1gina Inicial"), but shouldn't it be automacally done by the IDE?
Felipe Marin Cypriano