mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
* 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:
parent
2afa7eabd0
commit
56faf7474c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user