Skip to content

Unicode issues in BrokeredMessage #189

Description

@jcookems

Dev estimate: 1
Test estimate: 0.5

The BrokeredMessage uses the parameterless version of getBytes to construct an array. This is risky, because getBytes() uses the the platform's default charset, so you don't know what you are going to get.

Ideally, this method should be removed. It is not used in the SDK.

At the very least, this should be made predictable, by changing to getBytes("UTF8").

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions