mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
* src/support/unicode.cpp (convert):
- flush out data at the end of the conversion process (bug 4439). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22320 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6799fbc1c6
commit
2bfa4c6bd7
@ -3,7 +3,7 @@
|
||||
* This file is part of LyX, the document processor.
|
||||
* Licence details can be found in the file COPYING.
|
||||
*
|
||||
* \author Lars Gullik Bjønnes
|
||||
* \author Lars Gullik Bjønnes
|
||||
*
|
||||
* Full author contact details are available in file CREDITS.
|
||||
*
|
||||
@ -135,6 +135,11 @@ int IconvProcessor::convert(char const * buf, size_t buflen,
|
||||
|
||||
int res = iconv(pimpl_->cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft);
|
||||
|
||||
// flush out remaining data. This is needed because iconv sometimes
|
||||
// holds back chars in the stream, waiting for a combination character
|
||||
// (see e.g. http://sources.redhat.com/bugzilla/show_bug.cgi?id=1124)
|
||||
iconv(pimpl_->cd, NULL, NULL, &outbuf, &outbytesleft);
|
||||
|
||||
//lyxerr << std::dec;
|
||||
//lyxerr << "Inbytesleft: " << inbytesleft << endl;
|
||||
//lyxerr << "Outbytesleft: " << outbytesleft << endl;
|
||||
|
@ -53,6 +53,10 @@ What's new
|
||||
- Fix LaTeX output of documents with both CJK and non-CJK languages.
|
||||
LyX is basically ready for multilingual CJK now (bug 4337).
|
||||
|
||||
- Fix internal conversion from ucs4 to cp-1255 (LyX didn't recognize
|
||||
the Hebrew character tav [0x5EA] as a valid character in cp-1255)
|
||||
(bug 4439).
|
||||
|
||||
|
||||
* USER INTERFACE:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user