winefile: UNICODE
Dimi Paun
dimi at lattica.com
Sun Jul 3 11:07:57 CDT 2005
On Sun, 2005-07-03 at 13:31 +0200, Martin Fuchs wrote:
> I thought it would be enough just to use "--ptr" to go back one
> character in UCS-16 strings. Only MBCS or UTF-8 encoded strings would
> need such helper functions like CharPrevW()?
IIRC there are these 'surrogate pairs' in which case just --ptr
will not work correctly:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/indexsrv/html/wbrscenario_01df.asp
--
Dimi Paun <dimi at lattica.com>
Lattica, Inc.
More information about the wine-devel
mailing list