[whatwg] Proposal for improved handling of '#' inside of data URIs

On Sun, 11 Sep 2011 10:21:48 -0400, Michael A. Puls II  
<shadow2531 at gmail.com> wrote:

> Encoding the data (markup for example) for the data URI is simple. Just  
> use encodeURIComponent(markup) (on a UTF-8 page) in JS on the data. You  
> still hand-author the markup. You just paste the markup into a textarea  
> and have something (like encodeURIComponent()) percent-encode it for you.

For example, <http://shadow2531.com/js/create_data_uris.html>. (I'll make  
one for files with the File API at a later date.)

-- 
Michael

Received on Tuesday, 13 September 2011 09:43:20 UTC