Interactive gui doesn't work for Asian characters
When using duc gui, if there are any folders/files containing Asian characters, they would not be displayed in gui.
UTF-8, including some asian characters, is part of the unit tests. This
works for me, see the attached screenshot.
What OS are you using? Did you build Duc from source or are you running a package provided by your operating system?
I'm using macOS Sierra 10.12.4.
Build from source, with config ./configure --disable-x11 --with-db-backend=sqlite3 --enable-opengl.
Every seems good except duc gui.
As you can see, the file name is missing. And also the file path above is incorrect.
But duc graph can surely create correct image, which is quite weird.
Quoting ashfinal (2017-05-10 21:23:46)
I'm using macOS Sierra 10.12.4.
--enable-opengl`.
There's your problem: the OpenGL graphics backend has limited font support. For X11 Duc uses cairo and pango for text rendering, which allows for full unicode support and truetype rendering.
The OpenGL backend is quite basic however: OpenGL itself does not provide any infrastructure for text rendering, so at this time there is only a simple hardcoded fixed sized font available with ISO/IEC 8859-1 only.
-- :wq ^X^Cy^K^X^C^C^C^C
I rebuild duc with cairo and pango support, it still doesn't work.
It would be perfect if this problem could be solved… But since duc graph works well for Asian chars,
that seems acceptable to me. :)