summaryrefslogtreecommitdiff
path: root/csharp/src
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/src')
-rw-r--r--csharp/src/Ice/Incoming.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/csharp/src/Ice/Incoming.cs b/csharp/src/Ice/Incoming.cs
index 1033b0a9083..ddc9238819b 100644
--- a/csharp/src/Ice/Incoming.cs
+++ b/csharp/src/Ice/Incoming.cs
@@ -265,7 +265,7 @@ namespace IceInternal
{
os_.resize(Protocol.headerSize + 4, false); // Reply status position.
os_.writeByte(ReplyStatus.replyUserException);
- os_.startWriteEncaps();
+ os_.startWriteEncaps(current_.encoding, Ice.FormatType.DefaultFormat);
os_.writeUserException(ex);
os_.endWriteEncaps();
if(observer_ != null)