Commit a1c330b1 authored by petter's avatar petter
Browse files

Bugfix: umlaut in string triggers buggy string to byte encoding!

git-svn-id: 0463f305-d864-43cb-8a47-61cf597d4139
parent 69bac921
......@@ -968,8 +968,10 @@ public class Recording extends MessageProducerAdapter implements Runnable,
out.writeByte(0); // padding
out.writeInt(;//getBytes() is Null-terminated!!!!
byte[] temp =;
out.writeInt(temp.length);// we need to query the length of the byte array instead of the pure size of
// the string, as some chars are encoded with several bytes
// ///////////////////////////////////////
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment