URL encoding SVG

 The 'encodeURI' function on my old browser does not give the right output for a data URL for a background image of an SVG.


So I use the free online URL encoder at:


    https://yoksel.github.io/url-encoder/


My browser's 'encodeURIComponent' function does not give the right output either.


Chromes's 'encodeURIComponent' function does not give the right output either.


I tried changing all double quotes in the SVG to single quotes, but this did not give the right output either




Comments

Popular posts from this blog

Minifying CSS

Violating Flickr's terms of service

How a CSS fish animation works