We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd0e4ab commit 9223e92Copy full SHA for 9223e92
1 file changed
wolframclient/utils/encoding.py
@@ -6,6 +6,9 @@
6
7
force_text = Dispatch()
8
9
+@force_text.dispatch(six.buffer_types)
10
+def encode(s, *args, **opts):
11
+ return force_text(force_bytes(s, *args, **opts), *args, **opts)
12
13
@force_text.dispatch(six.text_type)
14
def encode(s, encoding="utf-8", errors="strict"):
0 commit comments