Login  Register

question about charset

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

question about charset

mojavelinux
Administrator
2681 posts
A question came in about the charset that I'd like to respond to here.

> We migrated a doc to asciidoctor. It contains a horizontal ellipsis, which doesn’t seem to render properly when served from a remote server. Seen this issue before?
> It’s as if Chrome takes the Content-Type, which comes in as iso-1185-1, and uses that instead of the HTML’s <meta charset=“UTF-8”>

In my experience, many browsers will use the charset defined in the Content-Type HTTP header over the charset defined in the document. There doesn't seem to be a way to control the browser behavior from the document in a way that works universally. It's best to have the web server set the charset to UTF-8 (while you're at it, slap anyone who doesn't configure their web server this way).

If anyone has more insight on this topic, esp if I'm saying invalid things, please feel free to chime in.

Cheers,

-Dan

--