<table><tr><td style="">cfeck retitled this revision from "[WIP/RFC] [kioslave/file] Add a codec for legacy filenames" to "[kioslave/file] Add a codec for legacy filenames".<br />cfeck edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-hc4waarstd5qxzc/">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D18161">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">**[WIP/RFC] Please let me know if what I propose is sane**<br />
<br />
</span>UNIX filenames can contain any bytes (except `\0` and `/`). Qt's `QFile::decodeName()` calls `QString::fromLocal8Bit()`, assuming that all filesystems use the system's locale encoding. For filenames that have been created with a different encoding, and have not yet been converted (e.g. using `convmv`), this creates non-reversible U+FFFD (REPLACEMENT CHARACTER) code points in the filenames.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18161">https://phabricator.kde.org/D18161</a></div></div><br /><div><strong>To: </strong>cfeck, Frameworks, Dolphin, dfaure<br /><strong>Cc: </strong>frispete, nathanshearer, nerdopolist, ngraham, kde-frameworks-devel, michaelh, bruns<br /></div>