* src/Paragraph.cpp (simpleTeXSpecialChars):

- do not assume that typewriter can encode any character (bug 4727).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25434 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-07-03 14:32:43 +00:00
parent 012e2b6d9f
commit fd5e171bad
2 changed files with 11 additions and 1 deletions

View File

@ -986,7 +986,14 @@ void Paragraph::Pimpl::simpleTeXSpecialChars(Buffer const & buf,
break;
default:
#ifdef WITH_WARNINGS
#warning Can someone explain this silly method?
// JSpitzm 2008/07/03
// This looks like complete nonsense to me. Cf. the comments
// below. Since this triggers iconv exceptions (see bug 4727),
// I have commented this out for the time being.
#endif
#if 0
// I assume this is hack treating typewriter as verbatim
// FIXME UNICODE: This can fail if c cannot be encoded
// in the current encoding.
@ -996,6 +1003,7 @@ void Paragraph::Pimpl::simpleTeXSpecialChars(Buffer const & buf,
}
break;
}
#endif
// LyX, LaTeX etc.

View File

@ -90,6 +90,8 @@ What's new
landscape orientation, such that viewers can properly display them
(bug 2721).
- Fix encoding errors when typewriter font is used (bug 4727).
* USER INTERFACE