Chinese locale and markdown security fix