On Fri, Aug 22, 2008 at 22:36, Dallas Clarke <DClarke@xxxxxxxxxxxxxx> wrote:> Hello Scott,>> wchar_t* strchr(wchar_t *string, wchar_t chr){> while(*string != '\0' && *string != chr) ++string;> if(*string == chr) return string;> return NULL;> }> That doesn't work. What if I want to look for 𝔅, U+1D505MATHEMATICAL FRAKTUR CAPITAL B? It's UTF-16 representation is 0xD8350xDD05, which obviously doesn't fit in the single wchar_t parameter. ~ Scott