org.zkoss.util.label.web.charset"
From Documentation
m |
m ((via JWB)) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
'''Property:''' | '''Property:''' | ||
org.zkoss.util.label.web.charset | org.zkoss.util.label.web.charset | ||
+ | |||
+ | {{GlobalLibraryProperty}} | ||
Default: UTF-8 | Default: UTF-8 | ||
− | + | {{versionSince|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]]. |
Latest revision as of 09:30, 14 March 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.