mac encoding change