Revert "Error in previous commit: Bugfix: prevent crash when user entered Unicode characters in notes. #1590"

This reverts commit e355e521d458b9552967a6392e920e66d7fa1a2a.