ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28049] New: - sql task not able to import "windows UTF-8"
Date Tue, 30 Mar 2004 15:36:48 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28049>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28049

sql task not able to import "windows UTF-8" 

           Summary: sql task not able to import "windows UTF-8"
           Product: Ant
           Version: 1.6.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: barliguy@laposte.net


UTF-8 file generated with windows applications like Notepad add BOM (Byte-order
mark) at the begining of the file. And when I try to import a .sql file in UTF-8
for "sql" ant task it's not able to read the file. If I erase the BOM, all is OK.

Of course I added encoding="UTF-8" in task definition.

BOM are not mandatory in UTF-8 file. BOM is composed of bytes EF BB BF, in
ISO-8859-1 it is char "".

Perhaps I missed a parameter for the sql task definition?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message