Slashdot Mirror


Changing Your Filesystem's Locale?

dybdahl asks: "Now that Red Hat has changed the default character set to be UTF-8, none of the existing filenames that included local characters like æ, ø, å, (Denmark) are handled correctly by Konqueror or can be seen correctly with "ls" in a shell. Is there a tool out there that can convert an ISO8859-1 ext3 filesystem to UTF-8?"

4 of 15 comments (clear)

  1. Convert what? by Sam+Lowry · · Score: 3, Informative

    The filesystem has been stocking the filenames in utf-8 for ages. What you have to do is to make sure there is iocharset=utf-8 in the options of mount in the file /etc/fstab.

    In general, man mount helps a lot.

    1. Re:Convert what? by cyberkreiger · · Score: 3, Informative

      According to "man mount", "iocharset" is an option available to filesystems (v)fat, iso9660, and ntfs only. It's also available for smbfs.

      --
      Stumbling in the dark
      I hear slavering of jaws
      Eaten by a grue.
    2. Re:Convert what? by amorsen · · Score: 4, Informative

      The filesystem thought it was using UTF-8 filenames. That is what the specification says it should use. However the unfortunate poster has used ISO-8859-1 (or -15) file names. Therefore he now has a file system that does not conform to the standard, and of course he wants to do something about it.

      --
      Finally! A year of moderation! Ready for 2019?
  2. Did you look at freshmeat? by cyberkreiger · · Score: 5, Informative

    I think convmv may be what you're looking for.

    --
    Stumbling in the dark
    I hear slavering of jaws
    Eaten by a grue.