Fix unicode characters support in preformatted notes