Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Lets use utf8 when we actually fix utf8, for now use latin1 since it …

…works
  • Loading branch information...
commit 53da05a552d8ae1b45a8f6cb8e1ed9ef0d5f9691 1 parent ff48a27
Dale  Harvey authored
BIN  erldocs
View
Binary file not shown
6 src/erldocs_core.erl
View
@@ -511,9 +511,9 @@ htmlchars([Else | Rest], Acc) -> htmlchars(Rest, [Else | Acc]).
-spec read_xml(list(), list()) -> tuple().
read_xml(_Conf, XmlFile) ->
-%% Opts = [{fetch_path, [code:lib_dir(docbuilder, dtd)]},
-%% {encoding, "utf-8"}],
- Opts = [{fetch_path, [code:lib_dir(docbuilder, dtd)]}],
+ Opts = [{fetch_path, [code:lib_dir(docbuilder, dtd)]},
+ {encoding, "latin1"}],
+ %Opts = [{fetch_path, [code:lib_dir(docbuilder, dtd)]}],
{Xml, _} = xmerl_scan:file(XmlFile, Opts),
xmerl_lib:simplify_element(Xml).
2  templates/erldocs.dtl
View
@@ -2,7 +2,7 @@
<html lang="en">
<head>
- <meta charset="utf-8" />
+ <meta charset="latin1" />
<title>{{ title }} - erldocs.com (Erlang Documentation)</title>
<link rel="search" type="application/opensearchdescription+xml"
title="erldocs" href="/search.xml">
Please sign in to comment.
Something went wrong with that request. Please try again.