[cfe-dev] [LLVMdev] Unicode path handling on Windows

Nikola Smiljanic popizdeh at gmail.com
Mon Oct 3 13:12:03 PDT 2011


How about this:

for (int i = 0; i != NumWChars; ++i)
        absPath[i] = std::tolower(absPath[i], std::locale());

seems to be working just fine?

On Mon, Oct 3, 2011 at 9:27 PM, Bryce Cogswell <bryceco at gmail.com> wrote:

> Right, but maybe if you switch to using tolower_l() and pass an appropriate
> locale you can get it to work the same way. I'm not sure what locale that
> would have to be, but it needs to match whatever NTFS uses for its $upcase
> file.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20111003/98172d89/attachment.html>


More information about the cfe-dev mailing list