org.zkoss.util.label.web.charset"
From Documentation
Robertwenzel (talk | contribs) m |
m (correct highlight (via JWB)) |
||
Line 9: | Line 9: | ||
[since 3.6.2] | [since 3.6.2] | ||
− | It defines the charset used to encode zk-label.properties if the file is located in a Web application (i.e., < | + | It defines the charset used to encode zk-label.properties if the file is located in a Web application (i.e., <code>WEB-INF/zk-label*.properties</code>). Notice that all properties specified in [[ZK Configuration Reference/zk.xml/The system-config Element/The label-location Element|the label-location element]] must be encoded in the same encoding as specified here. |
To define the charset for zk-label.properties located in classpath (i.e., part of a JAR file), please refer to [[ZK Configuration Reference/zk.xml/The Library Properties/org.zkoss.util.label.classpath.charset|the org.zkoss.util.label.classpath.charset property]]. | To define the charset for zk-label.properties located in classpath (i.e., part of a JAR file), please refer to [[ZK Configuration Reference/zk.xml/The Library Properties/org.zkoss.util.label.classpath.charset|the org.zkoss.util.label.classpath.charset property]]. |
Revision as of 10:19, 19 January 2022
Property:
org.zkoss.util.label.web.charset
Applicable: globally in zk.xml via <library-property> not as <custom-attribute>
Default: UTF-8 [since 3.6.2]
It defines the charset used to encode zk-label.properties if the file is located in a Web application (i.e., WEB-INF/zk-label*.properties
). Notice that all properties specified in the label-location element must be encoded in the same encoding as specified here.
To define the charset for zk-label.properties located in classpath (i.e., part of a JAR file), please refer to the org.zkoss.util.label.classpath.charset property.
Please refer to ZK Developer's Reference: Internationalization for more information about zk-label.properties.