socsvn commit: r239684 - soc2012/tzabal/client-side/akcrs-head/usr.sbin/crashreport

tzabal at FreeBSD.org tzabal at FreeBSD.org
Mon Jul 23 00:21:34 UTC 2012


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}
 


More information about the svn-soc-all mailing list