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 5d07f11 commit b723b93Copy full SHA for b723b93
main.py
@@ -49,7 +49,7 @@ def cleanup(*args):
49
50
DUMP_CMD = 'mysqldump -h {host} -P {port} -u {user} --password={password} {db} {table} ' \
51
'--default-character-set=utf8 -X'.format(**config['mysql'])
52
-REMOVE_INVALID_CHAR_CMD = 'tr -cd "[:print:]"'
+REMOVE_INVALID_CHAR_CMD = 'iconv -f utf-8 -t utf-8 -c'
53
54
BINLOG_CFG = {key: config['mysql'][key] for key in ['host', 'port', 'user', 'password', 'db']}
55
BULK_SIZE = config.get('elastic').get('bulk_size')
0 commit comments