Harshal Trivedi asked:

> How can i make sure that UTF-8 format string has terminated while
> encoding it, as compared to C program string which ends with '\0'
> (NULL) character?

You don't need to do anything special at all when using UTF-8
in C programs, as far as string termination goes. UTF-8 strings
work just like ASCII strings or Latin-1 strings or Code Page
1252 strings or SJIS strings in terms of termination with a NULL
character for C string processing.

> 
> -> Is there any special symbol or procedure to determine end of UTF-8
> string 

No.

> OR just ASCII NULL '\0' is used as it is to indicate that.

Yes.

--Ken



Reply via email to