* Author.cpp:

- 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
This commit is contained in:
Jürgen Spitzmüller 2010-11-12 09:41:41 +00:00
parent 2afa7eabd0
commit 56faf7474c

View File

@ -26,7 +26,7 @@ namespace lyx {
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)