freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] [PATCH 2/2] [cmake] add support for customized ftsystem o


From: Masatoshi Kimura
Subject: Re: [ft-devel] [PATCH 2/2] [cmake] add support for customized ftsystem on Windows
Date: Tue, 31 Oct 2017 06:19:38 +0900
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; ja; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.0


On 2017/10/31 2:08, Alexei Podtelezhnikov wrote:
> 
> 
> On Mon, Oct 30, 2017 at 7:58 AM, Hin-Tak Leung
> <address@hidden <mailto:address@hidden>> wrote:
> 
>     Also, fopen on windows can open non-ascii file names, I think. It is
>     just a byte stream.
> 
> 
> Indeed, https://msdn.microsoft.com/en-us/library/yeby3zcb.aspx
> 
> If I read it correctly, the unicode pathname must be prefixed with BOM
> to work on Windows. So the patch does not seem necessary.

No, no. ccs=encoding indicates the encoding of file *contents*, not file
names.

You can not use UTF-8 file names to open file on Windows. You will have
to use _wfopen to use UTF-16LE, and you *must not* use BOM in this case.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]