Skip to content

Commit

Permalink
Force the output encoding to UTF-8, just in case the input is somethi…
Browse files Browse the repository at this point in the history
…ng mad like UTF-16.
  • Loading branch information
iay committed Jun 2, 2011
1 parent 4af9410 commit 4818282
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/identity.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<!--
Force UTF-8 encoding for the output.
-->
<xsl:output omit-xml-declaration="no" method="xml" encoding="UTF-8"/>

<!--By default, copy text blocks, comments and attributes unchanged.-->
<xsl:template match="text()|comment()|@*">
<xsl:copy/>
Expand Down

0 comments on commit 4818282

Please sign in to comment.