Peter Kümmel wrote:
We still don't know which string is wrong
so here the next code:

        docstring format = _("LyX directory, %1$s. \n");
        lyxerr << "format = " << to_utf8(format) << endl;

        docstring path = from_utf8("/home/dir/");
        lyxerr << "path = " << to_utf8(path) << endl;

        docstring s4= bformat(format, path);

OK, stderr is exactly the same:

format = LyX directory, %1$s.

path = /home/dir/

so seems from/to utf is working though I don't know the intermediate product is correct.

But

>    docstring s4= bformat(format, path);

still fails...

Koji

Reply via email to