[FIX] encoding support fix for use of subprocess
bzr revid: nicolas.bessi@camptocamp.com-20110407083813-m8ymnb2lka3k6qex
This commit is contained in:
parent
fd97f9f966
commit
4ee8a210dc
|
@ -112,7 +112,7 @@ class WebKitParser(report_sxw):
|
||||||
|
|
||||||
command.append('--quiet')
|
command.append('--quiet')
|
||||||
# default to UTF-8 encoding. Use <meta charset="latin-1"> to override.
|
# default to UTF-8 encoding. Use <meta charset="latin-1"> to override.
|
||||||
command.append("--encoding 'utf-8'")
|
command.extend(['--encoding', 'utf-8'])
|
||||||
if header :
|
if header :
|
||||||
head_file = file( os.path.join(
|
head_file = file( os.path.join(
|
||||||
tmp_dir,
|
tmp_dir,
|
||||||
|
|
Loading…
Reference in New Issue