use correct encoding