Svg Vs Svg+xml. UTF-8 mainly uses 1 byte a number from 0-255 for each character. Given the underlying XSS problems are caused by how browsers implementation of SVG and merely changing the spec to say imagesvgxml is deprecated does nothing to change their implementation.
AddType imagesvgxml svg svgz AddEncoding gzip svgz. SVG images and their behaviors are defined in XML text files. UsingSVGwithHTML SVGfeatures 2 AttackingSVG Attacksurface Securitymodel Securitymodelviolations 3 ContentSecurityPolicy Abriefintroduction CSPViolations 4 Conclusion RenniedeGraafiSECPartners SVGSecurity BHUSA2014 255.
SVG images are defined using XML.
Scalable Vector Graphics SVG The SVG graphic format was developed to be used to represent an image and its elements which may include objects drawings and figures in XML. This is an example SVG image. When mixed with HTML5 it. This assumes you are using only characters that dont need more like those in a typical SVG.