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=42333>. 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=42333 Summary: WMFTranscoder may generate SVG not matching XML encoding Product: Batik Version: 1.7 Platform: Other OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: SVG Rasterizer AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] This is actually a documentation bug. When I converted a WMF file to SVG the output contained <?xml... encoding="UTF-8"?>. However, there were incorrectly coded characters in the generated file, so it was not readable by the rasterizer, for instance. The example in the WMFTranscoder class comment should be changed to use a Writer for the output, like this: FileOutputStream fos = new FileOutputStream(svgFile); TranscoderOutput svg = new TranscoderOutput(new OutputStreamWriter(fos, "UTF-8")); This ensures the output really is encoded the intended way. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
