Changeset 34098 for main/trunk/greenstone2/setup.bat
- Timestamp:
- 2020-04-04T15:34:45+13:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/setup.bat
r33793 r34098 299 299 300 300 301 :: On other local se, like Chinese locales, for XMLParsers to read (XML) files301 :: On other locales, like Chinese locales, for XMLParsers to read (XML) files 302 302 :: in UTF-8 encoding (instead of defaulting to encoding GBK when on Chinese locale), 303 303 :: need to pass -Dfile.encoding=UTF-8 to the JVM. Can have this passed to the JVM by … … 305 305 :: For example, the example at https://www.mkyong.com/java/how-to-read-utf-8-xml-file-in-java-sax-parser/ 306 306 :: doesn't work in a Chinese locale until the program is run with 307 :: java -Dfile.encoding=UTF-8 <ReadXMLUTF8FileSAX> 307 :: java -Dfile.encoding=UTF-8 <ReadXMLUTF8FileSAX>, so for GS3 this will be passed in to tomcat 308 :: in build.xml 308 309 :: 309 310 ::set JAVA_TOOL_OPTIONS=%JAVA_TOOL_OPTIONS% -Dfile.encoding=UTF-8 310 remset JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8311 set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8
Note:
See TracChangeset
for help on using the changeset viewer.