Changing encoding in Dolphin
James Richard Tyrer
tyrerj at acm.org
Fri Jan 25 16:29:10 GMT 2008
Dotan Cohen wrote:
> 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.
I meant that they are screwed in Linux.
>> 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.
There is NO "nls_iso8859-8.ko". Hebrew is "nls_cp1255.ko"
--
JRT
___________________________________________________
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