diff --git a/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/media/implementation/StatusLine.java b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/media/implementation/StatusLine.java index 70be929297edc..7fcc5d5ea948b 100644 --- a/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/media/implementation/StatusLine.java +++ b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/media/implementation/StatusLine.java @@ -53,7 +53,7 @@ public static StatusLine create(DataSource dataSource) { private static void expect(Reader reader, String string) { try { - byte[] byteArray = string.getBytes(); + byte[] byteArray = string.getBytes("UTF-8"); int ch; for (int i = 0; i < string.length(); i++) { ch = reader.read();