Skip to content
Back to formatted view

Raw Message

Message-ID: <CANROs4f6MR9qSXVMOON9pg2PaZw+x7nPixbSgyRZPhkoHB47kA@mail.gmail.com>
Date: 2014-07-22T20:40:11Z
From: Yihui Xie
Subject: Byte Order Mark in ?connections

Hi,

There seems to be a couple of typos in the documentation of
connections about the Byte Order Mark, e.g. 0xFFFE should be 0xFEFF,
and c(0xef, 0xbb, 0xff) should be c(0xef, 0xbb, 0xbf).
https://github.com/wch/r-source/blob/4c15a67b/src/library/base/man/connections.Rd#L366-L383

> charToRaw('\UFEFF')
[1] ef bb bf

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Web: http://yihui.name