You are not logged in.

#1 2009-11-30 22:52:31

ftornell
Member
Registered: 2008-08-18
Posts: 277
Website

Bogus filenames?

Hi,
When accessing some Windows Shares or USB drives I se bogus names on the folders and files?!

Im am from Sweden and have åäö characters and they are displayed as "?" or something else.

For instance: Saturday is called Lördag in Swedish and will have it's folder called like L?rdag or sometimes just L

How can I get this to work correctly?

Last edited by ftornell (2009-11-30 23:15:57)


[ logicspot.NET | mempad.org ]
Archlinux x64

Offline

#2 2009-12-01 02:23:32

Neheb
Member
From: Norway
Registered: 2009-05-23
Posts: 39

Re: Bogus filenames?

I think it is just the font not having those characters.

What programs are you using though? I've only had this problem with the basic tty, never in X.

Offline

#3 2009-12-01 03:26:10

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Bogus filenames?

You can try using "iocharset=" in fstab - I remember I had to use that with FAT partitions.

Offline

#4 2009-12-01 08:12:13

ftornell
Member
Registered: 2008-08-18
Posts: 277
Website

Re: Bogus filenames?

@Neheb - it's a basic tty, don't run X on that server at all.
Tried to mount a usb stick with some photos on but it looks kinda messy with those uggly foldernames.
I can type the specific letters in the shell...have enabled the keymap sv-latin1 in rc.conf

@lucke - iocharset? ill try google that one and see what it's all about

Ill keep you posted, couse I really want this to work!

Last edited by ftornell (2009-12-01 08:14:16)


[ logicspot.NET | mempad.org ]
Archlinux x64

Offline

#5 2009-12-01 11:34:45

rekado
Member
From: Shanghai, China
Registered: 2009-01-13
Posts: 98
Website

Re: Bogus filenames?

Console fonts are limited to 256 or 512 characters. Which console font are you using? And which console map did you setup in /etc/rc.conf ? I'm confident you can solve this issue by either changing the console font or the console map.

Offline

#6 2009-12-01 16:49:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Offline

#7 2009-12-01 18:14:22

ftornell
Member
Registered: 2008-08-18
Posts: 277
Website

Re: Bogus filenames?

rekado wrote:

Console fonts are limited to 256 or 512 characters. Which console font are you using? And which console map did you setup in /etc/rc.conf ? I'm confident you can solve this issue by either changing the console font or the console map.

Here it is:

LOCALE="en_US.UTF-8"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/Stockholm"
KEYMAP="sv-latin1"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

I also have sv_SE enabled but not as the active one couse I still like to see english words instead of swedish.

# locale -a
C
POSIX
en_US
en_US.iso88591
en_US.utf8
sv_SE
sv_SE.iso88591
sv_SE.utf8
swedish

And I can type correct characters åäö, since I use sv-latin1.

Shall I use a consolefont and consolemap to get this right?

Last edited by ftornell (2009-12-01 18:22:23)


[ logicspot.NET | mempad.org ]
Archlinux x64

Offline

#8 2009-12-01 19:32:36

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Bogus filenames?

Do you have X installed at all? If so I'd load up a terminal in X just to make sure that it's a console font issue.


Website - Blog - arch-home
Arch User since March 2005

Offline

#9 2009-12-01 19:36:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Bogus filenames?

Have you tried lucke's advice?

Offline

Board footer

Powered by FluxBB