Commit c19b1acf authored by Benjamin Fischer's avatar Benjamin Fischer
Browse files

Socket: fixed handling of utf-8 characters

fixes #2403
tested with: print (u"\u4124").encode("utf-8")
parent c8832b4e
......@@ -5,7 +5,7 @@ send = None
def send_topic(topic, data=None, window_id=None, user_id=None):
data = dumps({"data": data, "topic": topic})
data = dumps({"data": data, "topic": topic}, ensure_ascii=True)
send(window_id=window_id, user_id=user_id, encode_json=False, data=data)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment