Menu

#37 Exporting plaintext bodyparts

open-fixed
nobody
None
1
2009-03-16
2009-03-06
No

While exporting plaintext or html bodyparts to filesystem, strange character appears in the beginning of exported bodypart.

Bodypart is exported by calling:
outputStream.writeUTF(getContent());

where outputStream is file connection output stream.

When calling System.out.pritln(getContent()) this character is not here.

Discussion

  • Betlista

    Betlista - 2009-03-06

    UTF files have typically three bytes at the beginning of the file...

     
  • Betlista

    Betlista - 2009-03-16

    fixed in revision 737

     
  • Betlista

    Betlista - 2009-03-16
    • status: open --> open-fixed
     

Log in to post a comment.