How can I list file names containing Polish characters?

  • Robert

    Robert - 2014-04-15

    If I use the following command-line, I get a proper listing of the files with English letters, but the spelling of the files with Polish characters is garbled:

    sfk list -dir E:\ \Clip* -file .jpg > e:\tempz\jpglist.txt

    Can you please suggest a way to get redirection to a UTF-8 text file, or one that would display Polish letters correctly?

  • stahlworks

    stahlworks - 2014-04-15

    try this:

     sfk list -dir E:\ \Clip* -file .jpg +filter -toutf >e:\tempz\jpglist.txt
  • Robert

    Robert - 2014-04-15

    Sorry but this is not working properly. Using the suggested SFK command-line, I get “ĆŁŃÓŚŹŻ.jpg” listed as “CLN├ôSZZ.jpg”.
    On the other hand, the following PowerShell command-line returns a correct string:
    echo "ĆŁŃÓŚŹŻ.jpg" | Out-File -FilePath e:\tempz\jpglist.txt


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks