xml - Wicket doesn't encode correctly pair of two characters -


coulnd't find better question sorry , sorry bad english.

so i'm using wicket read messages xml file. "ż" , "ó" polish letter.

xml:

<?xml version="1.0" encoding="utf-8"?> <properties> <entry key="wrongencode">inżynierów</entry> </properties> 

html:

<?xml version="1.0" encoding="utf-8" ?> <html ...> <wicket:extend> <div class="someclassforwrongencode"><h3><wicket:message key="wrongencode"></wicket:message></h3></div> </wicket:extend> </html> 

css:

.someclassforwrongencode{     position:relative;     left:40px;     width: auto;     display: inline-block;     height: 15px; } 

with i'm getting one:

wrong encoding

but if change in xml file

<entry key="wrongencode">iżynierów</entry> 

i this:

correct encoding

so seems encoding polish letters correctly ("ż" , "ó") if add "n" before "ż", wicket won't encode it. couldn't find answer, idea how fix it?


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -