On Wed, 20 Jul 2011 22:20:16 +0100, Alix Pexton wrote: > On 20/07/2011 20:57, Lars T. Kyllingstad wrote: >> >> Does anyone know whether Windows' case insensitivity is limited to >> ASCII? If not, is the filesystem Unicode-aware, or does it uses some >> locale specific codepage to compare file names? >> >> -Lars > > Wikipedia says Windows long file names are up to 255 UTF-16 characters > (or code points, depending which article you refer to >< ) Seems > consistent with Microsoft's approach to character encoding throughout > the rest of the Windows API. > >> http://en.wikipedia.org/wiki/Long_filename
Thanks! In other words, fcmp() needs to do UTF-16 decoding... -Lars
