Module uef_encode

Function Index

html_encode_bin/1 Takes argument Html, replaces some unsafe symbols with their appropriate HTML entities and returns binary.
html_encode_list/1 Takes argument Html, replaces some unsafe symbols with their appropriate HTML entities and returns list of binaries.
win_to_utf8/1 Converts cp1251 binary to utf-8 binary.

Function Details

html_encode_bin/1

html_encode_bin(Html::iodata()) -> EncodedBinary::binary()

Takes argument Html, replaces some unsafe symbols with their appropriate HTML entities and returns binary.

html_encode_list/1

html_encode_list(Html::iodata()) -> EncodedList::[binary()]

Takes argument Html, replaces some unsafe symbols with their appropriate HTML entities and returns list of binaries.

win_to_utf8/1

win_to_utf8(Binary1251::binary()) -> BinaryUtf8::binary()

Converts cp1251 binary to utf-8 binary.


Generated by EDoc