Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add conversion to UTF-8 of command-line arguments
Hm, this isn't ideal in all cases; we end up converting filenames into UTF-8 too, and we don't (yet) have facilities to convert *back* to the local charset when trying to access them. And it's not entirely clear we really want to have to. But it does fix other things like '--interface=TAP♥', and is consistent with the methodology of converting *everything* on the way in and out, and being entirely consistent with UTF-8 internally. We *might* want to add special-case hacks for keeping filenames in the legacy charset internally, but then again we'd only have to convert *to* UTF-8 for printing them if we did that. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
- Loading branch information
David Woodhouse
authored and
David Woodhouse
committed
Jul 29, 2014
1 parent
9b66010
commit c48013f
Showing
1 changed file
with
88 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters