The media type, charset, encoding marker, and payload are all part of the value
A data URI begins with the data scheme, optional media-type and charset parameters, an optional Base64 marker, and the encoded data after a comma. A wrong MIME type can make the consumer interpret bytes incorrectly. Text and SVG may use percent-encoded UTF-8; arbitrary binary normally needs Base64.