Index: frmExport.cpp =================================================================== RCS file: /projects/pgadmin3/src/ui/frmExport.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -Lsrc/ui/frmExport.cpp -Lsrc/ui/frmExport.cpp -u -w -r1.13 -r1.14 --- src/ui/frmExport.cpp +++ src/ui/frmExport.cpp @@ -230,7 +230,11 @@ } } if (needQuote) - line += cbQuoteChar->GetValue() + text + cbQuoteChar->GetValue(); + { + wxString qc = cbQuoteChar->GetValue(); + text.Replace(qc, qc+qc); + line += qc + text + qc; + } else line += text; }