Skip to content

Commit

Permalink
Fix typos in encoding of xml exports. See https://www.heidisql.com/fo…
Browse files Browse the repository at this point in the history
  • Loading branch information
ansgarbecker committed Mar 3, 2017
1 parent d4b294f commit c75054b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/exportgrid.pas
Expand Up @@ -587,7 +587,7 @@ procedure TfrmExportGrid.btnOKClick(Sender: TObject);

efXML: begin
// Imitate mysqldump's XML style
Header := '<?xml version="1.0" encoding="'+MainForm.GetCharsetByEncoding(Encoding)+'"?>' + CRLF + CRLF;
Header := '<?xml version="1.0" encoding="'+GetHTMLCharsetByEncoding(Encoding)+'"?>' + CRLF + CRLF;
if chkIncludeQuery.Checked then
Header := Header + '<resultset statement="'+HTMLSpecialChars(GridData.SQL)+'" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">' + CRLF
else
Expand Down

0 comments on commit c75054b

Please sign in to comment.