Hello,
exception messages sent from my Delphi-DA-Server to an ASP.NET Client (both using DA 6.0.51.881) contain ? for special characters like äöüß. How can I change the encoding of the message string?
Best regards
Stefan
Hello,
exception messages sent from my Delphi-DA-Server to an ASP.NET Client (both using DA 6.0.51.881) contain ? for special characters like äöüß. How can I change the encoding of the message string?
Best regards
Stefan
Hello,
Thanks, the issue was logged as #55638
We will send you a workaround at the nearest time.
Hello,
Here is a delphi workaround:
As a workaround please modify uROBinMessage.pas file:
function TROBinMessage.ReadException: Exception; ........ //lMessage := AnsiStringToWideString(AnsiString(Stream_ReadUTF8StringWithLength(fStream, MAX_EXCEPTION_TEXT))); lMessage := Utf8Decode(Stream_ReadUTF8StringWithLength(fStream, MAX_EXCEPTION_TEXT)); procedure TROBinMessage.WriteException(aStream: TStream; anException: Exception); ....... //Stream_WriteUTF8StringWithLength(fStream, UTF8String(WideStringToAnsiString(anException.Message))); Stream_WriteUTF8StringWithLength(fStream, UTF8Encode(anException.Message));