Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^5: Win32 encoding conversion mystery

by ikegami (Patriarch)
on Aug 15, 2018 at 23:14 UTC ( [id://1220392]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Win32 encoding conversion mystery
in thread Win32 encoding conversion mystery

I need the string as it is represented on the right side in the OP post

Why? Just use the wide interface I mentioned instead

Replies are listed 'Best First'.
Re^6: Win32 encoding conversion mystery
by mithaldu (Monk) on Aug 16, 2018 at 11:29 UTC
    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1220392]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-03-28 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found