git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40514
a592a061-630c-0410-9148-
cb99ea01b6c8
docstring const s2 = docstring(1, 0xF0001);
docstring const translated = (langenc == bufenc) ? name
: from_ascii("\\inputencoding{") + texenc + from_ascii("}")
- + s1 + langenc + s2 + translated + s1 + bufenc + s2;
+ + s1 + langenc + s2 + name + s1 + bufenc + s2;
odocstringstream os;
os << "\\addto\\captions" << language
- Do not allow user to over-write a file already open. Attempting to do so
crashes LyX (bug 7921).
+- Fix problem with translation of theorem environments when language and
+ buffer encoding differ (bug 7941).
+
* TEX2LYX