utfecpy() ignores any valid UTF sequence
at the end of its input.
for example:
utfecpy(to, to+5, "1234567890");
copies only 3 bytes while
strecpy(to, to+5, "1234567890");
copies 4. also,
utfecpy(to, to+7, "123க456");
copies only the first 3 bytes.
this patch replaces utfecpy() with a modified
version of /acme/bin/source/win/main.c:/^utfncpy
thanks.
arvindh
|