mirror of
https://github.com/apache/druid.git
synced 2025-02-17 07:25:02 +00:00
add encoding
This commit is contained in:
parent
2f498c3422
commit
788a4a846b
@ -266,6 +266,6 @@ public class SerializerUtils
|
||||
|
||||
public int getSerializedStringByteSize(String str)
|
||||
{
|
||||
return Ints.BYTES + str.getBytes().length;
|
||||
return Ints.BYTES + str.getBytes(UTF8).length;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user