From 56faf7474c7386c280e317d14ce32c9aa5fc1f3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Fri, 12 Nov 2010 09:41:41 +0000 Subject: [PATCH] * 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 --- src/Author.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Author.cpp b/src/Author.cpp index 91974b9c2e..0834926500 100644 --- a/src/Author.cpp +++ b/src/Author.cpp @@ -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)