[vlc-devel] [PATCH 1/1] freetype: handle non-English family and style names in Windows

Jean-Baptiste Kempf jb at videolan.org
Wed Nov 18 20:47:47 CET 2015


On 18 Nov, Salah-Eddin Shaban wrote :
> Not really.
> The characters in p_name are big endian and _tcsncpy won't work with
> little endian systems.

Wut? That's weird.

> So the U16_AT is necessary.

So we are assuming that we are in UCS-2? Because IIRC UTF-16 is also
variable length above 2-bytes, no?

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the vlc-devel mailing list