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
Copy file name to clipboardExpand all lines: src/code42cli/click_ext/groups.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -103,11 +103,11 @@ def invoke(self, ctx):
103
103
104
104
exceptUnicodeEncodeError:
105
105
ifplatform.system() =="Windows":
106
-
cmd='$ENV:PYTHONIOENCODING="utf-16"'
106
+
cmd='if using powershell: $ENV:PYTHONIOENCODING="utf-16"\nif using cmd.exe: SET PYTHONIOENCODING="utf-16"'
107
107
else:
108
108
cmd='export PYTHONIOENCODING="utf-8"'
109
109
raiseCode42CLIError(
110
-
f"Failed to handle unicode character using environment's detected encoding, try running:\n\n{cmd}\n\nand then re-run your `code42` command."
110
+
f"Failed to handle unicode character using environment's detected encoding, try running the following:\n\n{cmd}\n\nand then re-run your `code42` command."
0 commit comments