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

How a CSS fish animation works

Adding 'inert' HTML attribute does not speed up animations

Online HTML minifiers