[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about (gui-get-selection nil 'text/html)
From: |
Eli Zaretskii |
Subject: |
Re: Question about (gui-get-selection nil 'text/html) |
Date: |
Fri, 13 Apr 2018 23:27:36 +0300 |
> From: Lars Ingebrigtsen <address@hidden>
> Date: Fri, 13 Apr 2018 21:07:27 +0200
>
> Oh, wow. If I just do
>
> (decode-coding-region (point-min) (point-max) 'utf-16-le)
>
> instead of utf-16, I get the HTML I expect instead of a bunch of Chinese
> characters. :-)
>
> There's a byte order mark at the start -- isn't utf-16 supposed to use
> that to get the byte order?
The file you attached has no BOM.