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...
Well, my vision of the unicode switch was a s/std::string/docstring/g in the sources and start from there. I still think this would make sense. Andre'
