|Did you know ...||Search Documentation:|
(size_t)-1, assuming a 0-terminated string. The flags argument controls the encoding and is currently one of
REP_UTF8(string is UTF8 encoded),
REP_MB(string is encoded in the current locale) or 0 (string is encoded in ISO latin 1). The string may, but is not required, to be closed by a full stop (.).