Enrico Forestieri wrote:
On Thu, Nov 15, 2007 at 08:47:50AM +0100, Abdelrazak Younes wrote:
Enrico Forestieri wrote:
On Wed, Nov 14, 2007 at 11:30:15PM -0000, [EMAIL PROTECTED] wrote:
Author: forenr
Date: Thu Nov 15 00:30:13 2007
New Revision: 21620

URL: http://www.lyx.org/trac/changeset/21620
Log:
Fix bug that files with nonascii filenames are always reported
as externally modified.

        * src/Buffer.cpp (Buffer::readFile): filenames are always stored
        as UTF-8 in the FileName class.

        * src/support/FileName.h: correct comment.
Shouldn't we always return ucs4 (i.e. docstring instead?) I thought the unicode encoding depended on the filesystem: utf8 for recent Linux systems but utf16 for NTFS...

Apparently, it is not real utf16:
http://blogs.msdn.com/michkap/archive/2006/09/10/748699.aspx

The toFilesystemEncoding method takes care of the exact encoding
to be used, and this works whatever the filesystem, NTFS or not.

Very good then.

Abdel.

Reply via email to