Detecting regional settings (List Separator) from web

后端 未结 5 1041
遥遥无期
遥遥无期 2021-01-12 16:29

After having the unpleasant surprise that Comma Seperated Value (CSV) files are not necessarily comma-separated, I\'m trying to find out if there is any way to detect what t

5条回答
  •  攒了一身酷
    2021-01-12 17:16

    Toms, as far as I'm aware there is no way of achieving what you're after. The most you can do is try and detect the user locale and map it against a database of locales/list separators, altering the list separator in the .CSV file as a result.

提交回复
热议问题