TeamSQL / desktop-app

This repository is currently being used for hosting the official issue & bug tracker of TeamSQL Desktop App.
102 stars 6 forks source link

CSV Export fails to correctly escape double quote characters within fields #447

Open dlchayes-joor opened 5 years ago

dlchayes-joor commented 5 years ago

Currently the export tries to escape " with a \ character, but this isn't recognized by most CSV reader implementations that follow rfc4180, which specifies that " within a field should be escaped as "".

This is a particular problem for exporting from databases that store raw JSON data, for obvious reasons- it causes the json to be spread across blank cells and distorts the number of columns in the file.

I'm running teamSQL 4.0.392.392 on OSX 10.13.6