On 29/09/2008 13:00, hzluo wrote:
FYI, I merged the two methods now:

Author: younes
Date: Mon Sep 29 11:35:13 2008
New Revision: 26615

URL:http://www.lyx.org/trac/changeset/26615
Log:
Merge FileFileName::Private::checksum() into FileFileName::checksum().

I have an off-topic, but related question.
For all error messages, the absFilename() is used to print filenames.
It is always UTF-8. However, on the Windows console,
UTF-8 strings can't be displayed properly if it has non-ASCII chars.
So any messages directing to console may have chaose chars.

Right.


This is not a big problem, because if we redirect the stdout/stderr
to a file then we can read the message properly.
And almost no users will read the console messages, only the developpers.

Well, advanced users do read the console messages because we often ask them to do so for debugging purpose.

But it still a problem, right?

On Windows yes I guess.


The fix is very difficult, all these absFilename calls must be manually corrected.
So it's a complex, time-consuming work. As the side effect is minimal,
I suggest not to fix it.

Me neither :-)

I just want to address it here, in case somebody likes
to kill some time, it might be a good choice.

A good solution would be to provide some GUI controls to enable/disable debugging output. Ideally these output would be redirected to a log file.

Abdel.

Reply via email to