X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=Rakka.git;a=blobdiff_plain;f=Rakka%2FResource%2FTrackBack.hs;h=260d22298605a504269eba8e4b4605c0e6b10f1e;hp=45cf55c4f7379fbad2f84bbef3f661bd83f6396a;hb=f19a294d54f38faaeab0027ecb5d85388243b924;hpb=87df74aaf1fc55047bac7ac234546db7547cf166 diff --git a/Rakka/Resource/TrackBack.hs b/Rakka/Resource/TrackBack.hs index 45cf55c..260d222 100644 --- a/Rakka/Resource/TrackBack.hs +++ b/Rakka/Resource/TrackBack.hs @@ -116,9 +116,11 @@ outputResponse res >>> mkResponseTree >>> - writeDocumentToString [ (a_indent, v_1) ] + writeDocumentToString [ (a_indent , v_1 ) + , (a_output_encoding, utf8) + , (a_no_xml_pi , v_0 ) ] ) - output $ UTF8.encodeString xmlStr + output xmlStr where mkResponseTree :: ArrowXml a => a b XmlTree mkResponseTree