We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dcf967 commit 3ac165eCopy full SHA for 3ac165e
mssqlcli/main.py
@@ -61,8 +61,7 @@ def run_cli_with(options):
61
try:
62
if six.PY2:
63
with io.open(options.input_file, 'r', encoding='utf-8') as f:
64
- # utf-8 encoding must be called again for windows
65
- text = f.read().encode('utf-8')
+ text = f.read()
66
else:
67
with open(options.input_file, 'r', encoding='utf-8') as f:
68
text = f.read()
mssqlcli/mssql_cli.py
@@ -368,8 +368,6 @@ def _execute_interactive_command(self, text):
368
369
def execute_query(self, text):
370
""" Processes a query string and outputs to file or terminal """
371
-
372
- text = str(text)
373
if self.interactive_mode:
374
output = self._execute_interactive_command(text)
375
0 commit comments