Announcement

Collapse
No announcement yet.

Unrecognized character in filename

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unrecognized character in filename

    Okay, I have a troublesome one for you all...
    I have a filename (it's an mp3 file) that has an unrecognized character in the filename. I can't use Dolphin to change the name, nor can I do it from the command line--it tells me the file doesn't exist. I am able to unzip it from kArk, but not change the name anywhere. Is there anything I can do to get around this or somehow make it recognizable so that I can change the name from the symbol to something allowed, or am I stuck begging for help from the music store?

    The message I get from the command line is this:
    Code:
    rename 09\ �ther\ Shanty.mp3 09_Aether_Shanty.mp3
    Unrecognized character \xC6 in column 4 at (eval 1) line 1.
    Thanks in advance!
    Jensoko

    #2
    Re: Unrecognized character in filename

    I'm no expert, but try renaming it as root.

    Graphical Way
    • Press ALT+F2
    • Type kdesudo dolphin
    • Enter your password when prompted
    • Browse to the file and rename it from there


    Command Line Way
    Just type sudo before the command.

    I have no clue if this will actually work, but it's worth a shot.

    Comment


      #3
      Re: Unrecognized character in filename

      Try using wildcard ( * ) instead:
      Code:
      rename 09*Shanty.mp3 09_Aether_Shanty.mps
      Using Kubuntu Linux since March 23, 2007
      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

      Comment


        #4
        Re: Unrecognized character in filename

        Okay, I tried the wildcard, then both the sudo and the wildcard together, and I got a new error:
        Code:
        Misplaced _ in number at (eval 1) line 1.
        Unrecognized character \xC6 in column 4 at (eval 1) line 1.
        Anyone have anything else to try?

        Thank you for any help!
        Jensoko

        Comment


          #5
          Re: Unrecognized character in filename

          There's a package named okteta. Install that, and use it to open the file (i.e. in Dolphin right-click the file, choose "open with" and then choose okteta). In the center part of the okteta window are two columns -- left in hex and right in ascii characters. Study the information in the right column, and scroll down until you find the file name. Then use your ability to edit the hex values in the left column to change the offending ascii characters to something that Linux will recognize.

          Comment


            #6
            Re: Unrecognized character in filename

            Try this:
            Code:
            mv 09<tab> 09_Aether_Shanty.mp3
            where <tab> means press the Tab key.

            Comment


              #7
              Re: Unrecognized character in filename

              Originally posted by arist
              Try this:
              Code:
              mv 09<tab> 09_Aether_Shanty.mp3
              where <tab> means press the Tab key.
              That's what I originally did in order to get the right "goofy character" quote...it gives me the original error. I think the original was done on a Mac or something...

              Comment


                #8
                Re: Unrecognized character in filename

                Originally posted by jensoko
                Try this:
                Code:
                mv 09<tab> 09_Aether_Shanty.mp3
                where <tab> means press the Tab key.
                That's what I originally did in order to get the right "goofy character" quote...it gives me the original error. I think the original was done on a Mac or something...
                But did you try it with mv instead of rename? I just tried it on an Icelandic filename and got the same "Unrecognized character" error with rename, but it works fine with mv.

                Comment


                  #9
                  Re: Unrecognized character in filename

                  Just a wild stab in the dark.

                  Try installing Peazip http://peazip.sourceforge.net/ and use i to unzip the original file.

                  I have found on occasion Ark has had problems with file names Peazip has done it, also works better with password protected zipped files than Ark

                  Dave
                  Using Kubuntu 17.10 64Bit

                  Comment


                    #10
                    Re: Unrecognized character in filename

                    Originally posted by arist
                    Originally posted by jensoko
                    Try this:
                    Code:
                    mv 09<tab> 09_Aether_Shanty.mp3
                    where <tab> means press the Tab key.
                    That's what I originally did in order to get the right "goofy character" quote...it gives me the original error. I think the original was done on a Mac or something...
                    But did you try it with mv instead of rename? I just tried it on an Icelandic filename and got the same "Unrecognized character" error with rename, but it works fine with mv.
                    This worked for me, thank you.
                    AMD Phenom II X6 1100T + 8GB Ram + Radeon HD 6770 + Corsair Force GT60 /root + WD Caviar Black 1TB /home + Kubuntu 12.04 x64

                    Comment


                      #11
                      Re: Unrecognized character in filename

                      How nice, that seems to be a very useful autocomplete feature that fixes the problem in a matter of seconds.
                      Multibooting: Kubuntu Noble 24.04
                      Before: Jammy 22.04, Focal 20.04, Precise 12.04 Xenial 16.04 and Bionic 18.04
                      Win XP, 7 & 10 sadly
                      Using Linux since June, 2008

                      Comment

                      Working...
                      X