Create utf8_strlcpy() which does a "safe" truncated-string copy
(doesn't leave a partial UTF-8 sequence at the end of the destination string). This calls memcpy() for every char, which may not be performant, but I didn't (yet) do any profiling. Hence, no premature optimization either.
parent
a05acc7b
No related branches found
No related tags found
Please register or sign in to comment