Author: stsp Date: Sat Jun 11 10:46:14 2011 New Revision: 1134567 URL: http://svn.apache.org/viewvc?rev=1134567&view=rev Log: * subversion/svnlook/main.c (do_plist): Add encoding information to the XML header. The XML output is encoded in UTF-8.
Modified: subversion/trunk/subversion/svnlook/main.c Modified: subversion/trunk/subversion/svnlook/main.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnlook/main.c?rev=1134567&r1=1134566&r2=1134567&view=diff ============================================================================== --- subversion/trunk/subversion/svnlook/main.c (original) +++ subversion/trunk/subversion/svnlook/main.c Sat Jun 11 10:46:14 2011 @@ -1726,8 +1726,8 @@ do_plist(svnlook_ctxt_t *c, if (xml) { char *revstr = apr_psprintf(pool, "%ld", c->rev_id); - /* <?xml version="1.0"?> */ - svn_xml_make_header(&sb, pool); + /* <?xml version="1.0" encoding="UTF-8"?> */ + svn_xml_make_header2(&sb, "UTF-8", pool); /* "<properties>" */ svn_xml_make_open_tag(&sb, pool, svn_xml_normal, "properties", NULL);