Last I'll say on the subject, since this is your code after all.

On 9/19/2011 7:15 PM, Stephan Beal wrote:
But they're then limited by what they can do with it. base64 is useless
if you don't have a decoder.

But they're not any *more* limited than they are if you don't support binary at all.

To the C side it's pretty easy, but adding any sort of encoding
inherently limits the clients which can use it.

Well, unless you only use it for stuff that fossil treats as binary anyway, in which case no one's limited, because the alternative is not having access at all.

and JS cannot natively deal with binary data (that's coming in v5 or
whatever new version is coming soon).

Standard javascript doesn't have this ability yet, but individual impl have relevant capabilities. E.g., privileged JS in XUL has access to files and can get base64 strings from them, and the canvas element has a toDataURL method that returns base64 encoded data plus a tiny amount of metadata.

--
Joshua Paine
LetterBlock: Web Applications Built With Joy
http://letterblock.com/
301-576-1920
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to