Comment 3 for bug 223763

Revision history for this message
Sergey B Kirpichev (skirpichev) wrote :

Well, you try to convert from utf8 in RefWindow.C:
latintext = Glib::convert (clipboardtext, "iso-8859-1", "UTF8"); // it throws annoying exception
and then:
library_->doclist_->import (latintext, BibUtils::FORMAT_BIBTEX);

But the last call bibl_initparams (), where for the readmode FORMAT_BIBTEX by default:
p->utf8in = 0;
p->charsetin = BIBL_CHARSET_DEFAULT; // it's latin1