Why UTF-8/16 character encodings?
Walter Bright
newshound2 at digitalmars.com
Sat May 25 14:51:38 PDT 2013
On 5/25/2013 12:51 PM, Joakim wrote:
> For a multi-language string encoding, the header would
> contain a single byte for every language used in the string, along with multiple
> index bytes to signify the start and finish of every run of single-language
> characters in the string. So, a list of languages and a list of pure
> single-language substrings.
Please implement the simple C function strstr() with this simple scheme, and
post it here.
http://www.digitalmars.com/rtl/string.html#strstr
More information about the Digitalmars-d
mailing list