From 5eea754d54152c2a7a4b685172d9c6a92da90d36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Sat, 29 Dec 2007 10:22:42 +0000 Subject: [PATCH] * src/output_plaintext.cpp: - fix plaintext output. Abdel, you still should have a look at this. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22331 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/output_plaintext.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/output_plaintext.cpp b/src/output_plaintext.cpp index cc67213782..e825ac83e7 100644 --- a/src/output_plaintext.cpp +++ b/src/output_plaintext.cpp @@ -41,7 +41,8 @@ using std::string; void writePlaintextFile(Buffer const & buf, FileName const & fname, OutputParams const & runparams) { - odocfstream ofs("UTF-8"); + odocfstream ofs; + ofs << setEncoding("UTF-8"); if (!openFileWrite(ofs, fname)) return; writePlaintextFile(buf, ofs, runparams);