bug with exception-dialog + encoding