serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej (Jira) <>
Subject [jira] [Commented] (SERF-197) Website content starts with U+FEFF
Date Fri, 16 Oct 2020 11:02:00 GMT


Branko ─îibej commented on SERF-197:

What you're seeing is not "BOM for UTF-16", it is the code point U+FEFF encoded as UTF-8 ({{ef
bb bf}}). It's the deprecated zero-width non-breaking space, not a byte-order mark. There's
absolutely nothing wrong with it being there, it does not make the HTML invalid because it
counts as whitespace.

Yes, it's a pain that there are still editors out there that add such cruft. But it's neither
critical nor wrong, it's just surprising to people who send this through {{less}} without
sending it through {{hexdump}} first. :)

> Website content starts with U+FEFF
> ----------------------------------
>                 Key: SERF-197
>                 URL:
>             Project: serf
>          Issue Type: Bug
>            Reporter: Sebb
>            Priority: Minor
> Curl shows that the Serf web-pages start with U+FEFF.
> $ curl -s | head -1 | more
> <U+FEFF><!DOCTYPE html>
> This does not seem right.

This message was sent by Atlassian Jira

View raw message