summaryrefslogtreecommitdiff
path: root/sqlparse/cli.py
diff options
context:
space:
mode:
authorVictor Uriarte <victor.m.uriarte@intel.com>2017-01-10 18:52:12 -0700
committerVictor Uriarte <victor.m.uriarte@intel.com>2017-01-10 19:13:32 -0700
commit66b36af84fbe6d546b73a207e687234f28bb00a0 (patch)
tree595e8a0949a7b65cf041b4d72cdf4752222c4d74 /sqlparse/cli.py
parenta6d372d52469304860902a3eba1bafa412d420f0 (diff)
downloadsqlparse-66b36af84fbe6d546b73a207e687234f28bb00a0.tar.gz
Fix encoding logic/order
- If user provides an encoding value, use it instead of trying to _guess_ first. - If no value is provided, then decode with default of utf-8, otherwise try with unicode-escape
Diffstat (limited to 'sqlparse/cli.py')
0 files changed, 0 insertions, 0 deletions