* 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
This commit is contained in:
Jürgen Spitzmüller 2007-12-29 10:22:42 +00:00
parent 762a38c282
commit 5eea754d54

View File

@ -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);