[MarkLogic Dev General] XQSync error: UTF-8 encoding is
required:System property file
Mike Bowers
BowersMT at ldschurch.org
Fri Sep 26 02:57:14 PDT 2008
Thanks! That worked.
-----Original Message-----
From: general-bounces at developer.marklogic.com [mailto:general-bounces at developer.marklogic.com] On Behalf Of Justin Makeig
Sent: Thursday, September 25, 2008 5:55 PM
To: General Mark Logic Developer Discussion
Subject: RE: [MarkLogic Dev General] XQSync error: UTF-8 encoding is required:System property file
Mike,
It looks like your default file.encoding system property is set to Cp1252, not UTF-8 as XQSync expects. You can override this with the -Dfile.encoding parameter when you run XQSync:
java -Dfile.encoding=UTF-8 -cp "xqsync.jar;xcc.jar;xstream.jar;xpp3.jar" com.marklogic.ps.xqsync.XQSync
Justin
-----Original Message-----
From: general-bounces at developer.marklogic.com [mailto:general-bounces at developer.marklogic.com] On Behalf Of Mike Bowers
Sent: Thursday, September 25, 2008 4:36 PM
To: General Mark Logic Developer Discussion
Subject: [MarkLogic Dev General] XQSync error: UTF-8 encoding is required:System property file
On Windows XP I tried to run XQSync revision 888 against MarkLogic 4.0-1 using the following command line:
java -cp "xqsync.jar;xcc.jar;xstream.jar;xpp3.jar" com.marklogic.ps.xqsync.XQSync
I received the following error:
Exception in thread "main" java.io.IOException: UTF-8 encoding is required: System property file. encoding Cp1252 is not UTF-8. Change your locale, or set -Dfile.encoding=UTF-8
at com.marklogic.ps.xqsync.XQSync.main(XQSync.java:44)
----------------------------------------------------------------------
NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
----------------------------------------------------------------------
NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
More information about the General
mailing list