<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi there,<br>
<br>
while experimenting with un/marshalling I stumbled over a case where I
was sending string data that was not in UTF-8. <br>
<br>
It was possible to marshal it, however instead of a reply an error
message with the following name and message was received:<br>
<blockquote>org.freedesktop.DBus.Error.Disconnected<br>
Connection was disconnected before a reply was received<br>
</blockquote>
The error message's serial is 0 so I assume that the dbus
implementation stepped in.<br>
<br>
Of course it is fine, if an error is raised if wrong UTF-8 encoded data
is transmitted, but would it be possible to have instead a more
meaningful error message returned, indicating the problem at hand? (It
took me quite some time to trace this down as the error message was not
really informative in this case.)<br>
<br>
---rony<br>
<br>
</body>
</html>