We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b70bcab commit adc9478Copy full SHA for adc9478
1 file changed
examples/eventBased/politePingPong/politeAlice.py
@@ -83,7 +83,7 @@ async def handle_pong(writer: StreamWriter) -> str:
83
if not data:
84
print(f"Alice [{state}]: connection dropped unexpectedly.")
85
break
86
- msg = data.decode().strip()
+ msg = data.decode("utf-8")
87
print(f"Alice [{state}]: received '{msg}'")
88
89
handler = dispatch.get((state, msg))
0 commit comments