How about this:<div><br></div><div><div>for (int i = 0; i != NumWChars; ++i)</div><div>        absPath[i] = std::tolower(absPath[i], std::locale());</div><div><br></div><div>seems to be working just fine?</div><br><div class="gmail_quote">

On Mon, Oct 3, 2011 at 9:27 PM, Bryce Cogswell <span dir="ltr"><<a href="mailto:bryceco@gmail.com">bryceco@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div style="word-wrap:break-word"><div>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.</div>

</div></blockquote></div></div>