Re: Folder tree does not display iso-8859-1 characters properly
- From: Brian Stafford <brian stafford uklinux net>
 
- To: Martin Uddén <nanook lysator liu se>
 
- Cc: balsa-list gnome org
 
- Subject: Re: Folder tree does not display iso-8859-1 characters properly
 
- Date: Wed, 2 Apr 2003 13:11:43 +0100
 
On Tue 23:04,  1 April 2003, Martin Uddén wrote:
> Ah. Maybe I should ask someone why my terminal emulator/shell can't display 
> UTF-8 correctly =) ?
> 
> Seriously, doesn't the whole file-system have to be renamed then, along with 
> mucho headache?
> 
> I understand that applications like evolution use UTF-8 in eg its folder 
> names, but isn't this a Bad Thing, if the file system is in iso-8859-* ?
> 
> Could you point me to some info re UTF-8 vs. iso in linux file systems?
Try looking at the Posix/SUSv3 specs, on line at http://www.opengroup.org/
The only restriction on a Unix file name is that it may not contain the 
characetrs \0 or / and the names . and .. are special.  Other than that, 
AFAIK, a filename is just a string of octets with no locale or character set 
assumed.  There is no information in the inode specifying a character set.  
Put another way, the character set of a pathname is the character set assumed 
by the program using it and, of course, sorting order of filenames is 
dependent on the program's locale.
Hope this helps
Brian
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]