emacs-devel
[Top][All Lists]
Advanced

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

Re: utf-16le vs utf-16-le


From: Andreas Schwab
Subject: Re: utf-16le vs utf-16-le
Date: Mon, 14 Apr 2008 23:15:35 +0200
User-agent: Gnus/5.110008 (No Gnus v0.8) Emacs/22.1 (gnu/linux)

"Stephen J. Turnbull" <address@hidden> writes:

> Eli Zaretskii writes:
>
>  > Don't forget that en/decoding is used on strings as well, not only on
>  > buffers.  Buffer-local variables won't cut it, I think.
>
> Strings don't have encoding signatures or newline variants; those
> octet sequences if present in a string are merely binary octet
> sequences.  They only have special semantics in external
> representations.  Where's the problem?

The whole point of en/decoding is to convert between internal and
external representation, no matter whether operating on a buffer or a
string.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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