You are not logged in.

#1 2008-03-07 16:12:45

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Non-english characters in file names show as question marks

It's probably iocharset=utf8 question, but it's not only cd-rom - native partitions with "defaults" options behave no better. What is the correct solution? Current locale is en_US.UTF-8, which should be OK.

Offline

#2 2008-03-07 17:02:26

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: Non-english characters in file names show as question marks

Does that happen only in terminals or is it system wide?


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#3 2008-03-07 17:29:13

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: Non-english characters in file names show as question marks

Systemwide... Besides, its Xfce. I didn't think it was relevant, but I did some research since the initial post; it could be Xfce bug, for all I know smile . On another computer (PCLinuxOS, KDE) it was always OK, right out of the box.

Offline

#4 2008-03-07 20:37:53

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: Non-english characters in file names show as question marks

Later: installed kdebase. Nothing changed sad

Offline

#5 2008-03-07 21:07:14

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: Non-english characters in file names show as question marks

By the way, according to the startup script output, first I get the filesystems mounted, then the locale set. Could it be relevant?

Offline

#6 2008-03-10 08:27:29

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: Non-english characters in file names show as question marks

It looks like the problem hides somewhere in the HAL configuration (*.fdi files), as it's the HAL's responsibility to mount NTFS partitions and flash sticks where the question marks show. I tried to explore the configuration on a trouble-free installation (PCLinuxOS), but I feel unequal to the task smile. Anybody who knows the ropes - please, help!

Offline

#7 2008-03-10 11:21:17

sirocco
Member
Registered: 2008-03-10
Posts: 149

Re: Non-english characters in file names show as question marks

native partitions with "defaults" options behave no better

What filesystems?

For ntfs read http://wiki.archlinux.org/index.php/HAL

Policies
NOTE: this is deprecated from hal => 0.5.10

and

mount.ntfs linking

As of hal => 0.5.10 the above policy may not work. This is a workaround forcing hal to use the ntfs-3g driver instead of the standard ntfs driver. Please note that this method will use the ntfs-3g driver for all NTFS drives on your system! As root create a symbolic link from mount.ntfs to mount.ntfs-3g.
# ln -s /sbin/mount.ntfs-3g /sbin/mount.ntfs

Possible issues using this method:
if mount is called with "-i" option it doesn't work
possible issues with the kernels ntfs module

Locale issues

If you use KDE, you may have problem with filenames containing non-latin characters. This happens because kde's mounthelper is not parsing correctly the policies and locale option. There is a workaround for this:

1) Remove the "/sbin/mount.ntfs-3g" which is a symlink. code: rm /sbin/mount.ntfs-3g

2) Replace it with a new bash script containing:
#!/bin/bash
/bin/ntfs-3g $1 $2 -o locale=en_US.UTF-8 #put your own locale here

3) Make it executable: chmod +x /sbin/mount.ntfs-3g

There is only a problem with partition labels containing spaces, so if you have such a label, replace the space with an underscore, otherwise when you try to mount it you will get an error.

4) Add NoUpgrade=sbin/sbin/mount.ntfs-3g to pacman.conf.

I think your understand Russian. Welcome to http://linuxforum.ru/index.php?showtopic=53488 and

http://archlinux.org.ru/

Offline

Board footer

Powered by FluxBB