I have some issues with converting Excel documents into CSV formatted files containing characters of the Cyrillic and Greek alphabets. The CSV is written to a ByteArrayOutputStream as I want to do some modifications on the data before writing to disk. I use the workbook.save() method. When I don't specify a character encoding the characters are incorrectly converted. Seems to be ok as I must know the used character encoding, however it would be nice if Aspose could autodectec the character encoding. When I do specify a character encoding e.g. UTF-8, the characters are correclty converted, however there are also some garbage characters written to the outputstream.
Where do these garbage characters come from and how should I read the contents from the ByteArrayOutputStream without concerning the garbage characters?