mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-14 09:32:20 +00:00
* 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:
parent
762a38c282
commit
5eea754d54
@ -41,7 +41,8 @@ using std::string;
|
|||||||
void writePlaintextFile(Buffer const & buf, FileName const & fname,
|
void writePlaintextFile(Buffer const & buf, FileName const & fname,
|
||||||
OutputParams const & runparams)
|
OutputParams const & runparams)
|
||||||
{
|
{
|
||||||
odocfstream ofs("UTF-8");
|
odocfstream ofs;
|
||||||
|
ofs << setEncoding("UTF-8");
|
||||||
if (!openFileWrite(ofs, fname))
|
if (!openFileWrite(ofs, fname))
|
||||||
return;
|
return;
|
||||||
writePlaintextFile(buf, ofs, runparams);
|
writePlaintextFile(buf, ofs, runparams);
|
||||||
|
Loading…
Reference in New Issue
Block a user