emacs-devel
[Top][All Lists]
Advanced

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

Re: filename coding systems and w32-*-file-name functions


From: Juanma Barranquero
Subject: Re: filename coding systems and w32-*-file-name functions
Date: Wed, 10 Dec 2008 11:57:15 +0100

On Sun, Nov 30, 2008 at 03:08, Juanma Barranquero <address@hidden> wrote:

> And, in a related note: some time ago, I changed `w32-list-locales'
> (from w32-fns.el) to decode the output of `w32-get-locale-info'. But,
> in fact, I don't think that should be done at the lisp level; there's
> no reason why `w32-get-locale-info' shouldn't use DECODE_SYSTEM for
> the long form of the locale name.

No answer, so I'll change w32-get-locale-info to use DECODE_SYSTEM for
the long form of the locale name, unless somebody opposes.

> As for using DECODE_SYSTEM when the LONGFORM argument is a LCTYPE
> constant, I'm not sure. On one hand, I don't think that
>
>  ELISP> (w32-get-locale-info (w32-get-current-locale-id) 2)
>  "Espa\361ol - Espa\361a (alfabetizaci\363n tradicional)^@"
>
> is very useful. On the other hand, the LCTYPE results are
> null-terminated strings so I don't know what it the intended use.

What about that? Makes sense to use DECODE_SYSTEM for the LCTYPE results?

TIA,

    Juanma




reply via email to

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