{"action":"created","issue":{"url":"https://api.github.com/repos/shundhammer/qdirstat/issues/61","repository_url":"https://api.github.com/repos/shundhammer/qdirstat","labels_url":"https://api.github.com/repos/shundhammer/qdirstat/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/shundhammer/qdirstat/issues/61/comments","events_url":"https://api.github.com/repos/shundhammer/qdirstat/issues/61/events","html_url":"https://github.com/shundhammer/qdirstat/issues/61","id":232649585,"number":61,"title":"UTF-8 characters not displayed correctly in file/dir names","user":{"login":"slodki","id":3155552,"avatar_url":"https://avatars0.githubusercontent.com/u/3155552?v=3","gravatar_id":"","url":"https://api.github.com/users/slodki","html_url":"https://github.com/slodki","followers_url":"https://api.github.com/users/slodki/followers","following_url":"https://api.github.com/users/slodki/following{/other_user}","gists_url":"https://api.github.com/users/slodki/gists{/gist_id}","starred_url":"https://api.github.com/users/slodki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slodki/subscriptions","organizations_url":"https://api.github.com/users/slodki/orgs","repos_url":"https://api.github.com/users/slodki/repos","events_url":"https://api.github.com/users/slodki/events{/privacy}","received_events_url":"https://api.github.com/users/slodki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-05-31T18:09:43Z","updated_at":"2017-05-31T19:44:41Z","closed_at":null,"body":"version: 1.3\r\nsystem: Ubuntu zesty\r\npackage: 1.3-1~zesty (amd64)\r\n\r\n```\r\n$ ls -lR\r\n.:\r\nrazem 112\r\n-rw-rw-r-- 1 slodki slodki 51200 maj 31 19:51 file3_ą\r\n-rw-rw-r-- 1 slodki slodki 51200 maj 31 19:51 file4\r\ndrwxrwxr-x 2 slodki slodki  4096 maj 31 19:51 krowa\r\ndrwxrwxr-x 2 slodki slodki  4096 maj 31 19:51 żółw\r\n\r\n./krowa:\r\nrazem 52\r\n-rw-rw-r-- 1 slodki slodki 51200 maj 31 19:51 file1\r\n\r\n./żółw:\r\nrazem 52\r\n-rw-rw-r-- 1 slodki slodki 51200 maj 31 19:51 file2\r\n$ locale\r\nLANG=pl_PL.UTF-8\r\nLANGUAGE=\r\nLC_CTYPE=\"pl_PL.UTF-8\"\r\nLC_NUMERIC=\"pl_PL.UTF-8\"\r\nLC_TIME=\"pl_PL.UTF-8\"\r\nLC_COLLATE=\"pl_PL.UTF-8\"\r\nLC_MONETARY=\"pl_PL.UTF-8\"\r\nLC_MESSAGES=\"pl_PL.UTF-8\"\r\nLC_PAPER=\"pl_PL.UTF-8\"\r\nLC_NAME=\"pl_PL.UTF-8\"\r\nLC_ADDRESS=\"pl_PL.UTF-8\"\r\nLC_TELEPHONE=\"pl_PL.UTF-8\"\r\nLC_MEASUREMENT=\"pl_PL.UTF-8\"\r\nLC_IDENTIFICATION=\"pl_PL.UTF-8\"\r\nLC_ALL=\r\n```\r\n\r\nAll files and directories with polish (or Cyrillic) characters are skipped/ignored in QDirStat:\r\n![qdirstat-utf8](https://cloud.githubusercontent.com/assets/3155552/26646574/6c31683e-463c-11e7-811b-abe42b47695f.png)\r\n\r\nWorks without problems in all other KDE/QT/CLI apps:\r\n![dolphin-utf8](https://cloud.githubusercontent.com/assets/3155552/26646690/d825196e-463c-11e7-975e-332518c95afc.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/shundhammer/qdirstat/issues/comments/305296005","html_url":"https://github.com/shundhammer/qdirstat/issues/61#issuecomment-305296005","issue_url":"https://api.github.com/repos/shundhammer/qdirstat/issues/61","id":305296005,"user":{"login":"slodki","id":3155552,"avatar_url":"https://avatars0.githubusercontent.com/u/3155552?v=3","gravatar_id":"","url":"https://api.github.com/users/slodki","html_url":"https://github.com/slodki","followers_url":"https://api.github.com/users/slodki/followers","following_url":"https://api.github.com/users/slodki/following{/other_user}","gists_url":"https://api.github.com/users/slodki/gists{/gist_id}","starred_url":"https://api.github.com/users/slodki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slodki/subscriptions","organizations_url":"https://api.github.com/users/slodki/orgs","repos_url":"https://api.github.com/users/slodki/repos","events_url":"https://api.github.com/users/slodki/events{/privacy}","received_events_url":"https://api.github.com/users/slodki/received_events","type":"User","site_admin":false},"created_at":"2017-05-31T19:44:41Z","updated_at":"2017-05-31T19:44:41Z","body":"And as [you can see](http://www.fileformat.info/info/unicode/char/00c4/index.htm) 0xC3 0x84 is UTF-8 encoded ASCII char 0xC4.\r\n\r\nIn my opinion QDirStat is doing something like toUtf8(toUtf8(QString)). And when you don't use toUtf8 (like in command line params) there is no error."}}
{"actor":{"display_login":"slodki"}}