r/tinycode • • Oct 07 '19

1000-Byte website shows Mona Lisa

https://jsfiddle.net/qguvbwhd/
27 Upvotes

18 comments sorted by

View all comments

Show parent comment

2

u/recursive Oct 07 '19

Yeah, it's super cool. I'm slightly into character encodings as a stupid hobby, so I mostly was just excited that you might a different one.

2

u/ivanhoe90 Oct 07 '19

I just wish UTF8 has been invented much earlier and that it was a mandatory text encoding for the whole world :D

E.g. dozens of text encodings are allowed in the PDF format. So every PDF processor has to be many kilobytes larger than it could be, just to store all these encodings. People usually know encodings for latin languages, but there are many more encodings for chinese, japanese etc.

2

u/recursive Oct 07 '19

mandatory

It kind of is, de-facto. At least for new stuff. Of course PDF isn't new :(