emacs-devel
[Top][All Lists]
Advanced

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

Re: master 8f03888: * lisp/gnus/gnus-art.el: Fix up compiler warnings.


From: Stefan Monnier
Subject: Re: master 8f03888: * lisp/gnus/gnus-art.el: Fix up compiler warnings.
Date: Thu, 15 Jan 2015 21:07:13 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> Doesn't switching to unibyte just mean "expose the raw utf-8-ish
> contents as bytes", sort of?

The keyword here is "sort of".  And of course, the behavior was
different in Emacs-22, yet most/all of this code dates back to before
Emacs-23, so that makes it even more murky.

Conversions between bytes ("unibyte") and characters ("multibyte")
should be done by encoding/decoding.  Using terms like "converting from
unibyte to multibyte" just messes up with your head to make sure you
can't think straight.


        Stefan




reply via email to

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