Fixed encoding of lang switch