K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-28T08:24:46.000000Z K 7 svn:log V 314 Handle boundary cases more correctly; mblen(s, 0) and mbtowc(NULL, s, 0) return -1 regardless of what s points to, mbtowc(&w, s, 1) sets w to a null wide character when s points to a null byte. This seems to be closer to what most other implementations do, but the C99 standard contradicts itself for these cases. END