On Jul 28 19:34, Andy Koppe wrote: > 2009/7/28 Corinna Vinschen: > > + *pwc = 0xdc00 | ((tmp - 0x10000) & 0x3ff); > > Nitpicking: The '- 0x10000' isn't necessary here; '(tmp & 0x3ff)' should do. Right, thanks for the hint. I've changed that locally. Corinna -- Corinna Vinschen Cygwin Project Co-Leader Red Hat