diff options
author | Micael Karlberg <[email protected]> | 2011-03-09 15:42:59 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2011-03-09 15:42:59 +0100 |
commit | f8aac645c1c74626049b3a30eeedb6339cd43e2c (patch) | |
tree | fcda8e85564df7a84808c77e58e893d943a298a9 /lib/edoc/src/edoc_wiki.erl | |
parent | 6c8f96a4a762e8bd9dd2ef758a5312791c064dd0 (diff) | |
parent | 62e056af8c4fa058faa5087614c6b837a07f06e6 (diff) | |
download | otp-f8aac645c1c74626049b3a30eeedb6339cd43e2c.tar.gz otp-f8aac645c1c74626049b3a30eeedb6339cd43e2c.tar.bz2 otp-f8aac645c1c74626049b3a30eeedb6339cd43e2c.zip |
Merge branch 'dev' into bmk/snmp/support_ipv6_transport_address
Diffstat (limited to 'lib/edoc/src/edoc_wiki.erl')
-rw-r--r-- | lib/edoc/src/edoc_wiki.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/edoc/src/edoc_wiki.erl b/lib/edoc/src/edoc_wiki.erl index e4a3d74734..b36aaae6ce 100644 --- a/lib/edoc/src/edoc_wiki.erl +++ b/lib/edoc/src/edoc_wiki.erl @@ -82,7 +82,8 @@ parse_xml(Data, Line) -> parse_xml_1(Text, Line) -> Text1 = "<doc>" ++ Text ++ "</doc>", - case catch {ok, xmerl_scan:string(Text1, [{line, Line}])} of + Options = [{line, Line}, {encoding, "iso-8859-1"}], + case catch {ok, xmerl_scan:string(Text1, Options)} of {ok, {E, _}} -> E#xmlElement.content; {'EXIT', {fatal, {Reason, L, _C}}} -> |