- to_ascii is a bad idea if your name contains two umlauts.
(LyX asserted on my for any document).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36258
a592a061-630c-0410-9148-
cb99ea01b6c8
static int computeHash(docstring const & name,
docstring const & email)
{
- string const full_author_string = to_ascii(name + email);
+ string const full_author_string = to_utf8(name + email);
// Bernstein's hash function
unsigned int hash = 5381;
for (unsigned int i = 0; i < full_author_string.length(); ++i)