← Back to team overview

mosquitto-users team mailing list archive

Re: unicode strings

 

Hi,

I'm not near a computer right now, but can you tell me what version of
python you are using and how you are creating the string?

Thanks,

Roger
On Feb 11, 2013 6:48 PM, "Alexander Bolotnov" <abolotnov@xxxxxxxxx> wrote:

> While trying to send unicode strings to mosquitto with python client I get
> the following:
>
> TypeError: payload must be a string, bytearray, int, float or None.
>
> how do I then submit unicode data?
>
> Sasha Bolotnov
> www.bolotnov.info
>
>
> --
> Mailing list: https://launchpad.net/~mosquitto-users
> Post to     : mosquitto-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~mosquitto-users
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References