mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-23 01:56:36 +03:00
Minor bug fix (for Windows nagging message about Unicode data)
This commit is contained in:
parent
fb645b90f7
commit
e17e703e3e
|
@ -159,7 +159,7 @@ def stdoutencode(data):
|
|||
if IS_WIN:
|
||||
output = data.encode(sys.stdout.encoding, "replace")
|
||||
|
||||
if '?' in output:
|
||||
if '?' in output and '?' not in data:
|
||||
warnMsg = "cannot properly display Unicode characters "
|
||||
warnMsg += "inside Windows OS command prompt "
|
||||
warnMsg += "(http://bugs.python.org/issue1602). All "
|
||||
|
|
Loading…
Reference in New Issue
Block a user