testing for encoding problems