Hi,
The "typical" utf-8 heading for an xhtml file inside a epub (one of many) looks like the following:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
In fact, the above was generated by Sigil itself since it uses utf-8 as it xhtml encoding.
This line in your question
> <link rel="stylesheet" href="../Styles/Stylesheet.css" type="text/css; charset=UTF-8" />
just says that the encoding of the separate stylesheet is utf-8, not that the .xhtml file itself is.
All of that said, unless the content of the xhtml is actually utf-8 byte values/strings then it still will not display properly. Many good text editors are smart enough to find the encoding info or let you set it before editing text within it.
Hope this helps,
KevinH
|