I get it! Now (after gaining experience with the PropEr framework) I understand that utf8() generator exists.
It is in its (special) part of the framework - module proper_unicode.
It would be nice if this function at its location would have some kind of footnote.