option parsing failed: Invalid byte sequence in conversion input

Bug #1580436 reported by Jyrki
6
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

Jyrki (jhokkan)
description: updated
Revision history for this message
Jyrki (jhokkan) wrote :

Applied patch by initializing locale with setlocale(LC_ALL, "")

Revision history for this message
Jyrki (jhokkan) wrote :
Revision history for this message
Max Bubenick (max-bubenick) wrote :

Hi Jyrki, thanks for the report and the patch!!. I will review it

Changed in mydumper:
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Max Bubenick (max-bubenick)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.