we are supposed to receive and return UTF-8 everywhere in the dock. it's valid to do while(*++s) since a nul byte is not permitted in any UTF-8 character (except the NULL one). I also think it's a memory corruption around this function in one of the strings, but I can't find where exactly :-/ 2010/4/23 Tofe