diff options
author | Mariano Guerra <[email protected]> | 2018-08-14 14:35:33 +0200 |
---|---|---|
committer | Mariano Guerra <[email protected]> | 2018-08-15 20:57:52 +0200 |
commit | ce7e5e9c26efa1f907b152a4f6d223e0080542d1 (patch) | |
tree | e5ac4381e48da427521ed555b81f361fc82fc461 | |
parent | dacfafd97ed955b9c567f0efbc8553286360b0d2 (diff) | |
download | otp-ce7e5e9c26efa1f907b152a4f6d223e0080542d1.tar.gz otp-ce7e5e9c26efa1f907b152a4f6d223e0080542d1.tar.bz2 otp-ce7e5e9c26efa1f907b152a4f6d223e0080542d1.zip |
fix generated encoding for xml files generated with emd2exml
DTRACE.xml and SYSTEMTRAP.xml set encoding to utf8 instead of utf-8
and make xmerl_scan:file/1,2 fail parsing them
(cherry picked from commit faded6e1cdceb049d2d9bc995b6c981d58709315)
-rwxr-xr-x | make/emd2exml.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make/emd2exml.in b/make/emd2exml.in index 57bcaba24d..24837696f4 100755 --- a/make/emd2exml.in +++ b/make/emd2exml.in @@ -1214,7 +1214,7 @@ complete_output(#state{out = Out} = S) -> complete_output(S, [], Out) -> S#state{delayed_array = [], - out = ["<?xml version=\"1.0\" encoding=\"utf8\" ?>", nl(), + out = ["<?xml version=\"1.0\" encoding=\"utf-8\" ?>", nl(), "<!DOCTYPE chapter SYSTEM \"chapter.dtd\">", nl(), Out]}; complete_output(S, [{delayed, IX}|Rest], Out) -> |