path: root/tests/
authorSergey Poznyakoff <>2017-01-30 20:35:35 (GMT)
committer Sergey Poznyakoff <>2017-01-30 20:35:35 (GMT)
commit6494fe85e087bad327859dd3103133569ac2ec5b (patch) (unidiff)
tree8daa2bef423a0b62e67fdaf3a177647d796acd7e /tests/
parentcb959f75e36fbc08105fdc311fddd50516c5f1d8 (diff)
Apply --broken-8bit-charset only to frames in 8-bit encoding.
* src/frametab.gperf (decode_qv): Passe frame as the 2nd argument to field_to_string. (text_decode): Likewise. * src/idest.h (idest_ucs4_cvt): Remove. (field_to_string): Change the type of the 2nd argument. * src/idop.c (frame_encoding_is_8bit) (frame_is_genre): New auxiliary functions. (idest_ucs4_cvt): Take frame as the 2nd argument. Do recoding only if the frame's encoding in 8-bit. (add_stringlist): Take frame instead of the isgenre boolean; pass it to idest_ucs4_cvt. All uses changed. (field_to_string): Take frame as the 2nd argument. All uses changed. (fixup_charset): Merge with collect_text_frames.
Diffstat (limited to 'tests/') (more/less context) (show whitespace changes)
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.