bugfix char-encoding