Changing encoding in Dolphin

Dotan Cohen dotancohen at gmail.com
Fri Jan 25 14:33:26 GMT 2008


On 24/01/2008, James Richard Tyrer <tyrerj at acm.org> wrote:
> Dotan Cohen wrote:
> > How does one change the encoding in Dolphin? I do not see that option
> > in any of the menus. Dolphin is displaying the filenames of my SD card
> > in the wrong encoding and I need to change that.
> >
> IIUC, your file names in your SD card are screwed.

No, they are not. They display fine on the phone and on windows
machines that I connect the card+reader to.

> There isn't a way to set the encoding in Dolphin.  The setting in
> Konqueror is for the default encoding for web pages and wouldn't fix this.
>
> This is an issue and you might want to file a bug report since there
> isn't, AFAIK, a way to change the encoding for removable media on the
> fly in the KDE GUI.
>
> You set the default encoding for your system with the LANG environment
> variable:
>
>         <language>_<locale>.<encoding>
>
> E.G.:
>
>         en_US.UTF-8
>
> Now you can modify this for a given mountable device in: "/etc/fstab" by
> adding the "iocharset=<encoding> to the list of options {add it to the
> end of the list}.  Even if the list contains: "defaults", options added
> after it will override the defaults.
>
> /dev/fd0H1440 /mnt/floppy/a auto \
> rw,users,noauto,umask=0,iocharset=<encoding> 0 0
>
> {this will be all one line in fstab}
>
> The issue again is that this is a setting for a given device type and
> mount point that will apply for any removable device mounted.  You can't
> change it for an individual removable media.
>
> You should be able to change this on a one time basis with the command
> line (manual mounting) by opening a Konsole and first changing LANG in
> the environment and them mounting.
>
>         LANG=en_US.UTF-8
>         export LANG
>         mount <mount point>
>
> I don't know any way of doing this with the GUI.
>

Thanks. After some time googling, I suspect that I need to add the
iso-8859-8 codepage to the fstab entry. However, I don't seem to have
it:
$ locate 8859 | grep ko
/lib/modules/2.6.20-15-generic/kernel/fs/nls/nls_iso8859-9.ko
/lib/modules/2.6.20-15-generic/kernel/fs/nls/nls_iso8859-6.ko
/lib/modules/2.6.20-15-generic/kernel/fs/nls/nls_iso8859-14.ko
/lib/modules/2.6.20-15-generic/kernel/fs/nls/nls_iso8859-13.ko
/lib/modules/2.6.20-15-generic/kernel/fs/nls/nls_iso8859-7.ko
/lib/modules/2.6.20-15-generic/kernel/fs/nls/nls_iso8859-3.ko
/lib/modules/2.6.20-15-generic/kernel/fs/nls/nls_iso8859-15.ko
/lib/modules/2.6.20-15-generic/kernel/fs/nls/nls_iso8859-2.ko
/lib/modules/2.6.20-15-generic/kernel/fs/nls/nls_iso8859-5.ko
/lib/modules/2.6.20-15-generic/kernel/fs/nls/nls_iso8859-4.ko
/lib/modules/2.6.20-15-generic/kernel/fs/nls/nls_iso8859-1.ko

Anybody know how to install nls_iso8859-8.ko on Ubuntu? I'll ask on
the Ubuntu list, but someone here may know as well. Thanks.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list