From: "Eric Pouech" <eric.pouech at orange.fr> wrote: > +#include <ctype.h> ... > + if (!ch || !isalpha(ch)) break; Since that's apparently a Windows encoding shouldn't this be GetStringType() instead of isalpha()? -- Dmitry.