[OLINGO-989] Additional charset handling 2 Signed-off-by: Christian Amend <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/olingo-odata4/repo Commit: http://git-wip-us.apache.org/repos/asf/olingo-odata4/commit/122a31ff Tree: http://git-wip-us.apache.org/repos/asf/olingo-odata4/tree/122a31ff Diff: http://git-wip-us.apache.org/repos/asf/olingo-odata4/diff/122a31ff Branch: refs/heads/master Commit: 122a31ff632737f3ef3fea9066419ee94d8e6c8e Parents: f46c680 Author: Kanika Jashrapuria <[email protected]> Authored: Thu Apr 28 20:36:46 2016 +0530 Committer: Christian Amend <[email protected]> Committed: Wed Jul 27 15:03:35 2016 +0200 ---------------------------------------------------------------------- .../communication/request/batch/AbstractODataBatchRequestItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/122a31ff/lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/batch/AbstractODataBatchRequestItem.java ---------------------------------------------------------------------- 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 70a4f90..eccd447 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(); }
