option parsing failed: Invalid byte sequence in conversion input
Bug #1580436 reported by
Jyrki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Data Dumper |
Triaged
|
Low
|
Max Bubenick |
Bug Description
both myloader and mydumper fail on option parsing if some option includes non-US ASCII characters. For example:
./mydumper -B mydb -o /tmp/mydb -u user -p xa€Gakdh -h localhost
option parsing failed: Invalid byte sequence in conversion input, try --help
Applied patch by initializing locale with setlocale(LC_ALL, "")