diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index cee1954c72..618dc1fc28 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -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. diff --git a/status.15x b/status.15x index 00ef3a67d6..2adbd3cc62 100644 --- a/status.15x +++ b/status.15x @@ -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