Permalink
Browse files

Cunk data should not be sent as a utf16 string

  • Loading branch information...
1 parent 578d5fb commit d24c836cf58f61c014c656324efa1803ed33c6b4 Pasi Saarinen committed Jan 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mc3p/parsing.py
View
@@ -253,7 +253,7 @@ def parse_chunk(stream):
return { 'size': n, 'data': stream.read(n) }
def emit_chunk(ch):
- return ''.join([emit_int(ch['size']), emit_string(ch['data'])])
+ return ''.join([emit_int(ch['size']), ch['data']])
MC_chunk = Parsem(parse_chunk, emit_chunk)

0 comments on commit d24c836

Please sign in to comment.