Merge pull request #6427 from JosJuice/thousandseparate-encoding StringUtil: Fix Windows encoding in ThousandSeparate