mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-17 17:24:54 +00:00
Recode EbmlUnicodeStrings to UTF-8 encoded C strings
mkvinfo expects strings to be encoded in UTF-8 when they're displayed. Fix for bug 353.
This commit is contained in:
parent
c48917c747
commit
4983829ad8
@ -1,3 +1,8 @@
|
|||||||
|
2009-03-08 Moritz Bunkus <moritz@bunkus.org>
|
||||||
|
|
||||||
|
* mkvinfo: bug fix: Chapter names and tag elements were recoded to
|
||||||
|
the wrong charset resulting in garbled output. Fix for bug 353.
|
||||||
|
|
||||||
2009-03-07 Moritz Bunkus <moritz@bunkus.org>
|
2009-03-07 Moritz Bunkus <moritz@bunkus.org>
|
||||||
|
|
||||||
* Released v2.5.3.
|
* Released v2.5.3.
|
||||||
|
@ -1617,7 +1617,7 @@ handle_elements_rec(EbmlStream *es,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case EBMLT_USTRING:
|
case EBMLT_USTRING:
|
||||||
show_element(e, level, boost::format("%1%: %2%") % elt_name % UTFstring_to_cstr(UTFstring(*static_cast<EbmlUnicodeString *>(e)).c_str()));
|
show_element(e, level, boost::format("%1%: %2%") % elt_name % UTF2STR(UTFstring(*static_cast<EbmlUnicodeString *>(e)).c_str()));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case EBMLT_TIME:
|
case EBMLT_TIME:
|
||||||
|
Loading…
Reference in New Issue
Block a user