From 122a31ff632737f3ef3fea9066419ee94d8e6c8e Mon Sep 17 00:00:00 2001 From: Kanika Jashrapuria Date: Thu, 28 Apr 2016 20:36:46 +0530 Subject: [PATCH] [OLINGO-989] Additional charset handling 2 Signed-off-by: Christian Amend --- .../request/batch/AbstractODataBatchRequestItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/batch/AbstractODataBatchRequestItem.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/batch/AbstractODataBatchRequestItem.java index 70a4f9093..eccd4478e 100644 --- a/lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/batch/AbstractODataBatchRequestItem.java +++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/batch/AbstractODataBatchRequestItem.java @@ -89,7 +89,7 @@ public abstract class AbstractODataBatchRequestItem extends AbstractODataStreame newLine(); stream(ODataBatchConstants.ITEM_TRANSFER_ENCODING_LINE.getBytes(DEFAULT_CHARSET)); newLine(); - stream((ODataBatchConstants.CHANGESET_CONTENT_ID_NAME + ":" + contentId).getBytes()); + stream((ODataBatchConstants.CHANGESET_CONTENT_ID_NAME + ":" + contentId).getBytes(DEFAULT_CHARSET)); newLine(); newLine(); }