Metaflac hex dump UTF-8 and locale fix.
authorErik de Castro Lopo <erikd@mega-nerd.com>
Sun, 21 Apr 2013 08:05:21 +0000 (18:05 +1000)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Sun, 21 Apr 2013 08:05:25 +0000 (18:05 +1000)
commitf9d33d96e579cb4619b01eee772e1e8f1fab8adf
treec1edc272d1d61035a47a6d58a7a7cec62c67cbf3
parente8ffe523f8b2703a27983d2717cb36f7ed02e7c9
Metaflac hex dump UTF-8 and locale fix.

Change metaflac hexdump function so utf-8 decoding is only used for
filename printing and changed hex output printing to not rely only
on isprint. That function seems to return true for tabulator
control character under Windows when application isn't using C-locale.

Patch (with one minor tweak) from Janne Hyvärinen <cse@sci.fi>.
src/metaflac/utils.c