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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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.
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to