I'd guess that notepad++ added a BOM to the beginning. If so, you'll have to get rid of it: perhaps you can configure notepad++ to be less helpful?

http://www.google.com/search?hl=en&q=%22notepad%2B%2B%22+without+bom had a few promising-looking links.

-- Mike

On 2008-12-18 10:00, Eric Palmitesta wrote:
I used notepad++ to convert the file from ANSI to UTF-8, and now I get

in /eric/ejournals/sys/lang-custom.xqy, on line 1
      XDMP-UNEXPECTED: Unexpected token syntax error, unexpected Junk_

Eric

Dominic Mitchell wrote:
On 18 Dec 2008, at 16:55, Eric Palmitesta wrote:

Oops, problem with keeping language-orientated strings in an xqy file,
I get an error on a line containing the character: é

XDMP-QRYUTF8SEQ: Invalid UTF-8 escape sequence -- query is not UTF-8
encoded

I thought everything was utf-8 by default...is the above error expected?
Double check with your text editor.  It sounds like your query file is
being stored as ISO-8859-1.

-Dom_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general


_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to