mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Use semicolon separator for Excel if system decimal separator is comma. See http://www.heidisql.com/forum.php?t=8226
This commit is contained in:
@@ -167,8 +167,12 @@ begin
|
||||
// Display the actually used control characters, even if they cannot be changed
|
||||
case ExportFormat of
|
||||
efExcel: begin
|
||||
// Tab for pasting, semicolon if comma is also the decimal separator, and comma for the rest
|
||||
// see http://en.wikipedia.org/wiki/Comma-separated_values
|
||||
if radioOutputCopyToClipboard.Checked then
|
||||
editSeparator.Text := '\t'
|
||||
else if FormatSettings.DecimalSeparator=',' then
|
||||
editSeparator.Text := ';'
|
||||
else
|
||||
editSeparator.Text := ',';
|
||||
editEncloser.Text := '"';
|
||||
|
||||
Reference in New Issue
Block a user