diff options
author | 2017-08-10 14:04:08 +0200 | |
---|---|---|
committer | 2017-08-10 14:04:08 +0200 | |
commit | d843ddcc7909964331385920d1116350c65f33cd (patch) | |
tree | 79e6ac6f47088e805ce1ba089dead7efd80a4c81 | |
parent | convert usage to a multi line string (diff) | |
download | javatoolkit-d843ddcc7909964331385920d1116350c65f33cd.tar.gz javatoolkit-d843ddcc7909964331385920d1116350c65f33cd.tar.bz2 javatoolkit-d843ddcc7909964331385920d1116350c65f33cd.zip |
doesn't convert str to UTF8
-rwxr-xr-x | src/py/xml-rewrite-2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/py/xml-rewrite-2.py b/src/py/xml-rewrite-2.py index a6b88ee..943a512 100755 --- a/src/py/xml-rewrite-2.py +++ b/src/py/xml-rewrite-2.py @@ -111,7 +111,7 @@ class StreamRewriterBase: self.targetValues = targetValues or [] def p(self, str): - self.__write(str.encode('utf8')) + self.__write(str) def write(self, out_stream): value = self.buffer.getvalue() |