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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to