[gentoo-user] character confusion
Hello, Here's a small config/usage question I've never managed to get worked out in my brain. Why does Nautilus see a file name 'correctly' while ls in a terminal does not? Here's what I see in a terminal: 03 - Act I: Scene Two: II. Strange D??j?? Vu.ogg Here's what I see in Nautilus: 03 - Act I: Scene Two: II. Strange Déjà Vu.ogg Is this just the nature of terminals or is there some config item I should be doing differently? I'm almost sure that both are 'correct' but being displayed differently, correct? the accented characters are really two bytes? One program that built a small database from the directory built this: 03 - Act I: Scene Two: II. Strange D#xE9;j#xE0; Vu.ogg which I really do not understand! The real issue here is some programs find the music while others do not which causes problems. I've fixed it in the past by removing accent characters by hand but I'd rather not if possible. Thanks, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] character confusion
Mark Knecht wrote: Hello, Here's a small config/usage question I've never managed to get worked out in my brain. Why does Nautilus see a file name 'correctly' while ls in a terminal does not? Can depend on more then one thing. What I know is that 1: it could depend on your language settings (iso vs utf for instance). 2: it can depend on the terminal you use (is it unicode aware?). 3: it could probably depend on your font settings. 4: Some other things I don't know about. -- Naga -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] character confusion
On 10/7/05, Nagatoro [EMAIL PROTECTED] wrote: Mark Knecht wrote: Hello, Here's a small config/usage question I've never managed to get worked out in my brain. Why does Nautilus see a file name 'correctly' while ls in a terminal does not? Can depend on more then one thing. What I know is that 1: it could depend on your language settings (iso vs utf for instance). Meaning the choice when I built the kernel or something else? Currently this is chosen, but I don't know if this makes sense: (iso8859-1) Default NLS Option * Codepage 437 (United States, Canada) * ASCII (United States) * NLS ISO 8859-1 (Latin 1; Western European Languages) * NLS ISO 8859-15 (Latin 9; Western European Languages with Euro) * NLS UTF8 2: it can depend on the terminal you use (is it unicode aware?). gnome-terminal mostly. I'll check some others. 3: it could probably depend on your font settings. yeah, there's a Linux mystery if I ever met one... ;-) 4: Some other things I don't know about. You're far better then I. Thanks! - Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] character confusion
Mark Knecht wrote: On 10/7/05, Nagatoro [EMAIL PROTECTED] wrote: Mark Knecht wrote: worked out in my brain. Why does Nautilus see a file name 'correctly' while ls in a terminal does not? Can depend on more then one thing. What I know is that 1: it could depend on your language settings (iso vs utf for instance). Meaning the choice when I built the kernel or something else? Currently this is chosen, but I don't know if this makes sense: /etc/conf.d/keymaps /etc/conf.d/consolefont /etc/env.d/02locale (check what you have with: locale) probably the USE flag unicode and (iso8859-1) Default NLS Option I think this specifies what encoding your filenames will have. 2: it can depend on the terminal you use (is it unicode aware?). gnome-terminal mostly. I'll check some others. What I've heard xterm is about the only terminal that is compatible with all standards. 3: it could probably depend on your font settings. yeah, there's a Linux mystery if I ever met one... ;-) Don't I know it :) 4: Some other things I don't know about. You're far better then I. Thanks! Don't be too sure... Btw there are some great docs on www.gentoo.org/doc/en/ regarding unicode and localizing a system. -- Naga -- gentoo-user@gentoo.org mailing list