]> git.lyx.org Git - lyx.git/blobdiff - src/support/docstream.cpp
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / support / docstream.cpp
index 4f390dedc0d8d40bab517c0fa6a6f579b0b3122e..df3d031a167feb4834069180ecbbf16bd8775cd9 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <cerrno>
 #include <cstdio>
+#include <cstring>
 #include <iconv.h>
 #include <locale>
 
@@ -298,12 +299,7 @@ idocfstream::idocfstream(const char* s, ios_base::openmode mode,
 
 odocfstream::odocfstream(): base()
 {
-}
-
-
-odocfstream::odocfstream(string const & encoding) : base()
-{
-       setEncoding(*this, encoding, out);
+       setEncoding(*this, "UTF-8", out);
 }