fix chinese locale invalid commas, add tests