Because that gives me the string on the left side in OP, which is the same as the one in this code which i wrote on your recommendation.
This byte sequence cannot be converted to UTF-8 displaying japanese characters without first moving through 437, which is what the right hand side gives. Just saying "use the wide interface" is completely useless.
Worst of all:
You somehow managed to miss that i said i'm using Win32::LongPath in the OP post, which already uses the wide interface, AND ALSO the very fact that i JUST gave you code that does EXACTLY what you suggest. Why do you continue to pretend i'm not already using the wide interface. This is extremely rude.
In fact, it seems to me as if you made your recommendation without ever having worked with japanese files encoded as described, which makes your blunt insistence on "use the thing you're already using" even more rude.
| [reply] [Watch: Dir/Any] |