in reply to Re^4: Character encoding in console in Windows
in thread Character encoding in console in Windows

Pretty much all OSes have this functionality apart from Windows Vista

I run Vista.

(But I don't remember seeing this work in XP which I ran for years. But maybe I just never thought to try it?)

  • Comment on Re^5: Character encoding in console in Windows

Replies are listed 'Best First'.
Re: Character encoding in console in Windows
by elef (Friar) on Sep 11, 2010 at 21:23 UTC
    Well, the whole drag-and-drop mystery has been cleared up, but there is no solution for the original issue. Can anyone help?

      As I cannot test this, and have no prior knowledge of it, I'm probably the wrong one to ask.

      However, my guess would be that you need to set STDIN to expect utf2le, in order to be able to read the unicode into perl.

      Once you have the unicode, you will need to use Win32::Unicode::File->open() in order to be able to open files with unicode names.

      But that is all speculation on my behalf. When ikegami drops by he'll be able to give you chapter and verse on the Unicode stuff. Just be patient.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
        I'll read this thread in detail tonight. I'm out of time for now.