Permalink
Browse files

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

…works
  • Loading branch information...
1 parent ff48a27 commit 53da05a552d8ae1b45a8f6cb8e1ed9ef0d5f9691 @daleharvey committed Nov 27, 2011
Showing with 4 additions and 4 deletions.
  1. BIN erldocs
  2. +3 −3 src/erldocs_core.erl
  3. +1 −1 templates/erldocs.dtl
View
BIN erldocs
Binary file not shown.
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).
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">

0 comments on commit 53da05a

Please sign in to comment.