Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2012 00:21:32 +0000
From:      tzabal@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r239684 - soc2012/tzabal/client-side/akcrs-head/usr.sbin/crashreport
Message-ID:  <20120723002132.42A31106566C@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tzabal
Date: Mon Jul 23 00:21:31 2012
New Revision: 239684
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=239684

Log:
  Change the encoding of the XML crash report from UTF-8 to ISO-8859-1 in order to fix a bug with unrecognized characters that resulted in a 'not well-formed' error when parsing the report.

Modified:
  soc2012/tzabal/client-side/akcrs-head/usr.sbin/crashreport/crashreport.sh

Modified: soc2012/tzabal/client-side/akcrs-head/usr.sbin/crashreport/crashreport.sh
==============================================================================
--- soc2012/tzabal/client-side/akcrs-head/usr.sbin/crashreport/crashreport.sh	Sun Jul 22 23:21:21 2012	(r239683)
+++ soc2012/tzabal/client-side/akcrs-head/usr.sbin/crashreport/crashreport.sh	Mon Jul 23 00:21:31 2012	(r239684)
@@ -171,7 +171,7 @@
 orig_IFS="${IFS}"
 IFS=";"
 
-echo "<?xml version='1.0' encoding='UTF-8'?>" > ${data}
+echo "<?xml version='1.0' encoding='ISO-8859-1'?>" > ${data}
 echo "<crashreport>" >> ${data}
 echo "<header>" >> ${data}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120723002132.42A31106566C>