workaround for charset/encoding problem