ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48533] When using <sql> task to execute a SQL script including Chinese, sometimes the script cannot be parsed correctly
Date Tue, 19 Jan 2010 05:33:45 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48533

--- Comment #4 from Stefan Bodewig <bodewig@apache.org> 2010-01-18 21:33:40 UTC ---
Your file contains a BOM (see http://en.wikipedia.org/wiki/Byte-order_mark )
and it doesn't get stripped by Java's InputStreamReader - see
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4508058

Ant doesn't try to strip the BOM itself so the workaround would be for you to
remove the BOM completely (by using an editor that doesn't insist on writing
one), sorry.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message