fixed char encoding