[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] unicode path displays wrong in minibuffer

From: Lennart Borgman (gmail)
Subject: Re: [h-e-w] unicode path displays wrong in minibuffer
Date: Tue, 29 May 2007 11:17:12 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20070326 Thunderbird/ Mnenhy/

I am also using a Swedish keyboard. I tried to reproduce the problem but I can't.

I do not know this areas of Emacs, so I have no idea of what is going on. I wonder however if that has something to do with the representation used for "ä" (swedish a with two dots above). In dired I get the following output for the "ä" when I use "C-u C-x =" or (what-cursor-position t):

  character: ä (2276, #o4344, #x8e4, U+00E4)
    charset: latin-iso8859-1 (Right-Hand Part of Latin Alphabet 1
                          (ISO/IEC 8859-1): ISO-IR-100.)
  code point: #x64
     syntax: w  which means: word
   category: l:Latin
  buffer code: #x81 #xE4
  file code: #xE4 (encoded by coding system iso-latin-1-dos)
    display: by this font (glyph code)
     New-normal-r-normal-normal-13-97-96-96-c-*-iso8859-1 (#xE4)

I do not know if this is useful information though, but I am sure Eli knows more about this.

Johan Rex wrote:
I just thought Windows uses unicode for filenames.

Anyway, I think I know how to reproduce it. I have deleted my .emacs file and .emacs.d directory so as to rule that out. I have .txt files associated with "emacsclientw.exe -n". When I doubleclick on a .txt file with swedish characters in the filename e.g. "bäst.txt" the error occurs. But when I invoke emacs from the commandline with emacsclientw -n "c:\Documents and Settings\23052547\Desktop\bäst.txt" all works well.

So something happens when I doubleclick a .txt file that doesn't happen when I use the command line. More suggestions on what to do to narrow it down further?

Anyway, the problem seems to occur only when I invoke emacs through emacsclientw.exe

On 5/29/07, *Eli Zaretskii* <address@hidden <mailto:address@hidden>> wrote:

     > Date: Mon, 28 May 2007 21:56:27 +0200
     > From: "Johan Rex" <address@hidden <mailto:address@hidden>>
     > Wrote d:/- Johans/tr\344ning/2007.txt

    As I wrote in , I cannot reproduce this.  Can you try
    this in "emacs -Q"?

    Also, I'm curious why do you say in the Subject "unicode path".  All I
    see in your report is a file name with Latin-1 characters, I don't see
    anything Unicode.  Could you please explain?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]