Fix locale issue related to notes with unicode characters in their title