You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.
Due to the nested values tower_receive often produces (like a list of dictionaries) I've found it necessary to cast the register output to_json before sending to tower_send. This seems to work well except when it comes across special character encodings like a letter with an accent, to_json just chokes:
`
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 4: ordinal not in range(128)
`
I can't figure out a way around this despite using b64de(encode) filters. Am I incorrect in casting the output from tower_receive to_json or is this is a separate issue? Either way documentation should reflect what to do.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Due to the nested values tower_receive often produces (like a list of dictionaries) I've found it necessary to cast the register output to_json before sending to tower_send. This seems to work well except when it comes across special character encodings like a letter with an accent, to_json just chokes:
`
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 4: ordinal not in range(128)
`
I can't figure out a way around this despite using b64de(encode) filters. Am I incorrect in casting the output from tower_receive to_json or is this is a separate issue? Either way documentation should reflect what to do.
The text was updated successfully, but these errors were encountered: