[Top][All Lists]

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

Re: eight-bit char handling in emacs-unicode

From: Stefan Monnier
Subject: Re: eight-bit char handling in emacs-unicode
Date: 30 Nov 2003 13:22:44 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>> You seem to be thinking of reading files.  I'm talking about handling
>> keyboard input.  If it was handled and accumulated as multibyte,
>> but then you want to get the result that you'd have got if it had
>> been inserted in a unibyte buffer, the existing string-make-unibyte
>> seems to be the right thing to convert.

>     It's actually not the case.  If your keyboard is using say utf-8 encoding

> As you might guess, I'm not talking about that case.
> I'm talking about keyboards that send unibyte text,
> such as perhaps Latin-1.

But what kind of elisp are you thinking of which is only going to be used
for latin-1-like environments but not utf-8 and which furthermore
can not know which encoding was used originally so it cannot call
encode-coding-string instead of make-string-unibyte ?


reply via email to

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