Fix alt mapping not work when change encoding to UTF-8