[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Coding system and environment variables
From: |
Piet van Oostrum |
Subject: |
Re: Coding system and environment variables |
Date: |
Wed, 20 Feb 2008 17:23:30 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.90 (darwin) |
>>>>> Göran Uddeborg <uddeborg@carmen.se> (GU) wrote:
>GU> How is the coding system decided when reading an environment variable?
>GU> I'm running a system using UTF-8. My locale is sv_SE.utf8. And emacs
>GU> uses UTF-8 as default most of the time. When I open a new file for
>GU> example.
[snip]
I looked in the code and it seems that Emacs doesn't apply
file-name-coding-system when expanding ~ to $HOME. Neither when you
interpolate $XXX environment variables in a file name. It just copies the
bytes. I think this is a bug. Please report it.
By the way, your posting contains
Content-Type: text/plain; charset=utf8
That should be utf-8 (with the hyphen). Therefore your posting reads wrong.
--
Piet van Oostrum <piet@cs.uu.nl>
URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4]
Private email: piet@vanoostrum.org