Javascript snippet to convert raw UTF8 to unicode
For the I-don’t-a-sane-use-for-this department comes this piece of code which takes a stream of raw UTF-8 bytes, decodes it and fromCharCode it, rendering it in a unicode supported browser. A possible...
View ArticleWhich words have the letter P in it and what’s the percentage?
Another code snippet from the useless dept, this time for PHP. If you’ve ever written a post and wondered how many words use the letter P (or any character), here’s something for you in PHP: function...
View Article
More Pages to Explore .....