]> git.lyx.org Git - lyx.git/blobdiff - src/output_plaintext.cpp
This is the first of a series of commits that will make InsetLayout a real class.
[lyx.git] / src / output_plaintext.cpp
index b1c4ec88adc6b262b9e876af5677cf92e38fa8af..ca67db49284b9d697a5f71e4fb3c206fd3b0e991 100644 (file)
@@ -14,8 +14,6 @@
 
 #include "Buffer.h"
 #include "BufferParams.h"
-#include "support/debug.h"
-#include "support/gettext.h"
 #include "Layout.h"
 #include "output.h"
 #include "OutputParams.h"
@@ -23,6 +21,8 @@
 #include "ParagraphList.h"
 #include "ParagraphParameters.h"
 
+#include "support/debug.h"
+#include "support/gettext.h"
 #include "support/lstrings.h"
 
 using namespace std;
@@ -35,7 +35,6 @@ void writePlaintextFile(Buffer const & buf, FileName const & fname,
        OutputParams const & runparams)
 {
        odocfstream ofs;
-       ofs << setEncoding("UTF-8");
        if (!openFileWrite(ofs, fname))
                return;
        writePlaintextFile(buf, ofs, runparams);