-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
I am developing a webapp using ZK and I have stumbled upon my first problem, regarding UTF-8 encoding. I set my files to this encoding and when rendering my pages I get the unicode codes (for example, when it should read Contraseña, it says Contrase\u00F1a)
What am I doing wrong? I am using ZK 7.0.1
2 | No.2 Revision |
I am developing a webapp using ZK and I have stumbled upon my first problem, regarding UTF-8 encoding. I set my files to this encoding and when rendering my pages I get the unicode codes (for example, when it should read Contraseña, it says Contrase\u00F1a)
What am I doing wrong? I am using ZK 7.0.1
<groupbox> Login <h:form id="f" name="f" action="j_spring_security_check" method="POST"> <grid> <columns sizable="false"> <column width="50%"/> <column width="50%"/> </columns> <rows> <row> <label value="${labels.aplicacion.usuario}"/> <textbox id="u" name="j_username"/> </row> <row> <label value="${labels.aplicacion.password}"/> <textbox id="p" type="password" name="j_password"/> </row> <row spans="2">
<h:input type="submit" value="login"/> <h:input type="reset" value="Reset"/></row> </rows> </grid> </h:form> </groupbox>
3 | No.3 Revision |
I am developing a webapp using ZK and I have stumbled upon my first problem, regarding UTF-8 encoding. I set my files to this encoding and when rendering my pages I get the unicode codes (for example, when it should read Contraseña, it says Contrase\u00F1a)
What am I doing wrong? I am using ZK 7.0.1
<groupbox>
And this is the lines in my zk.xml that declare the resource bundle file:
<library-property>
<name>org.zkoss.web.preferred.locale</name>
<value>es_ES</value>
</library-property>
<system-config>
<label-location>/WEB-INF/i18n/i18n.properties</label-location>
</system-config>
4 | No.4 Revision |
I am developing a webapp using ZK and I have stumbled upon my first problem, regarding UTF-8 encoding. I set my files to this encoding and when rendering my pages I get the unicode codes (for example, when it should read Contraseña, it says Contrase\u00F1a)
What am I doing wrong? I am using ZK 7.0.1
<groupbox>
<caption>Login</caption>
<h:form id="f" name="f" action="j_spring_security_check" method="POST">
<grid>
<columns sizable="false">
<column width="50%" />
<column width="50%" />
</columns>
<rows>
<row>
<label value="${labels.aplicacion.usuario}" />
<textbox id="u" name="j_username" />
</row>
<row>
<label value="${labels.aplicacion.password}" />
<textbox id="p" type="password" name="j_password" />
</row>
<row spans="2">
<div align="center">
<h:input type="submit" value="login" />
<h:input type="reset" value="Reset" />
</div>
</row>
</rows>
</grid>
</h:form>
</groupbox>
And this is the lines in my zk.xml that declare the resource bundle file:
<library-property>
<name>org.zkoss.web.preferred.locale</name>
<value>es_ES</value>
</library-property>
<system-config>
<label-location>/WEB-INF/i18n/i18n.properties</label-location>
</system-config>