nomad-software / tkd

GUI toolkit for the D programming language based on Tcl/Tk
MIT License
117 stars 16 forks source link

Problem with unicode not being used for file and directory dialogs. #36

Closed nomad-software closed 8 years ago

nomad-software commented 8 years ago

Hi,

I'm the d-apt maintainer. I noticed that when running the example, the open file and Directory dialogs do not properly show the file/folder names if they include some accent or another diacritical mark. Is TkD dialogs non compatible with UTF-8?

Here attach you some captures from Debian.

captura-open captura-choose a directory

Regards, Jordi

KarlHeesch commented 8 years ago

It seams that insertion of _tk.eval("encoding system utf-8"); into constructor of class TkdApplication could help. At least with Linux it worked for me. Regards, Karl

nomad-software commented 8 years ago

Fixed in commit https://github.com/nomad-software/tkd/commit/6b94a0bc9882f7d9d0d70708377ca42bc4ee3e2a

jordisayol commented 8 years ago

It properly works on Linux. Thank you!