-
Notifications
You must be signed in to change notification settings - Fork 302
Open
Description
So, i have a python that calls websocat, everything seems to work nicely, for both text and binary, except a specific line seems to trigger a UTF-8 error, but this line does not contain any UTF-8. Is there some automatic unicode converter sequence that i'm accidentally triggering or something weird like that?
( don't worry about the -k , all this is in a locally controlled network vlan)
called from python subprocess:
process = subprocess.Popen([
"websocat",
"--text",
"--base64",
"--binary-prefix",
"B:",
"-k",
"--linemode-strip-newlines",
"--protocol",
"default",
remote,
"-",
],
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
)
trigger line sent: property set pico-A39B-16.value_type Temperature
error output:
websocat: WebSocketError: UTF-8 failure
websocat: error running
Metadata
Metadata
Assignees
Labels
No labels