I have a web based application and was looking for a way for users to download their data from the websql tables. Someone suggested using data URI which seems to work in all browsers but Internet Explorer. The approach I am taking is to store all data in a variable and using text/csv MIME-Type and charset=UTF-8 character set encoding:
document.location.href = 'data:text/csv;charset=UTF-8,' + encodeURIComponent(info);
However when I click the link in internet explorer 9 it says the page can not be displayed. Any ideas how to get this working in IE? Thanks.