On sexta-feira, 25 de maio de 2012 06.27.05, [email protected] wrote: > On 5/24/12 11:38 PM, "ext Thiago Macieira" <[email protected]> > > wrote: > >On quinta-feira, 24 de maio de 2012 13.15.16, 1+1=2 wrote: > >> If we want to bootstrap tool such as qmake support utf8 > > > >Why would we want to? > > One reason could be paths/filenames that are encoded in the .pro file. If > we interpret it as latin1, we can't support international filenames.
If we are reading the .pro file as Latin 1 and we encode the filenames as Latin
1 when calling the POSIX functions, it will work just fine. So I don't see a
problem on Linux.
As for Windows, writing an 8-bit path is a mess anyway. Is the .pro file
supposed to be encoded in UTF-8 or in the Windows legacy ANSI encoding?
> And we are now assuming utf8 for all our C++ and QML source code. One
> could argue that assuming the same encoding for .pro files would be only
> consistent.
I agree: we'd assume that the encoding of the .pro file is UTF-8.
However, at this point I'd simply recommend ignoring the problem. Let's not
try and modify qmake any than we really must for getting 5.0 out.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
Intel Sweden AB - Registration Number: 556189-6027
Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
