fixing non utf-8 mappable chars