|
|
@ -226,8 +226,16 @@ namespace Exiv2 {
|
|
|
|
if ( ti ) {
|
|
|
|
if ( ti ) {
|
|
|
|
fct = ti->printFct_;
|
|
|
|
fct = ti->printFct_;
|
|
|
|
if ( ti->typeId_ == comment ) {
|
|
|
|
if ( ti->typeId_ == comment ) {
|
|
|
|
os << value().toString();
|
|
|
|
fct=NULL;
|
|
|
|
fct=NULL;
|
|
|
|
const Exiv2::CommentValue* cv = dynamic_cast<const Exiv2::CommentValue*>(&value());
|
|
|
|
|
|
|
|
Exiv2::CommentValue::CharsetId csId = cv->charsetId();
|
|
|
|
|
|
|
|
if ( csId != CommentValue::undefined ) {
|
|
|
|
|
|
|
|
os << "charset=" << CommentValue::CharsetInfo::name(csId) << " ";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
os << cv->comment();
|
|
|
|
|
|
|
|
#if 0
|
|
|
|
|
|
|
|
os << "|| value().toString() = " << value().toString();
|
|
|
|
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ( fct ) fct(os, value(), pMetadata);
|
|
|
|
if ( fct ) fct(os, value(), pMetadata);
|
|
|
|