Spec algorithm alignment: shift_jis