Skip to content

GsAmqpMessage - Default body class = String #7

Open
@feldti

Description

@feldti

This is just a note, how dangerous this setting is. The default class should be ByteArray. The developer then has to decide, if this is really a ByteArray (e.g. for an image) or it may be an UTF8 string or an CodePage string.

So far I have never come across this problem and I found the .NET binding very boring to handle all this ByteArray (from/back UTF8) and my data structure avoided german umlauts. But now I understand, that the .NET binding is useful.

Perhaps the developer must ask some header information before retrieving the body ... and do not trust, that the developer set the mime type right.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions