< zurück

weiter >

About Unicode Codepoint of the Day

von Manuel Strehl

Abgelegt unter

Schlüsselwörter: , ,

In May I started a new Twitter account named @UnicodeCotD, Unicode Codepoint of the Day. It tweets every day another codepoint from the Unicode® standard. At first it was a try to do something on a regular base on my main account, @m_strehl, but it soon became clear, that automation and a dedicated account are reasonable.

Screenshot of ucotd.manuel-strehl.de

Because just twittering stuff may be bad for archiving purposes, and because I want to support users with feed readers as well, I set up an accompanying web site, ucotd.manuel-strehl.de. This site offers an Atom news feed as well as, I’m curious, if this is ever used by someone, a JSON feed.

From a small experiment this project grew to a nice distraction and a good opportunity for me to learn something new. For example, I decided to have 10 days in October to be “Chess Week”, where I post the complete set of white and black chess figure Unicode codepoints. The companion links should point to different aspects of chess for every day, so I browsed the Wikipedia and learned many new things about chess. Have you known, that Garry Kasparov once played against the whole world?

The idea to put a link to every codepoint, sometimes just the Wikipedia page of the script it belongs, sometimes historical events or other related things, now suits me best in the whole project.

So, start following UnicodeCotD today, because otherwise you might miss October’s “Chess Week” ☺. And before I forget to mention it: You are free to use it to embed the Unicode Character of the Day on your own website. I have proper CORS headers in place, so use it with three lines of jQuery-enhanced Javascript like this:

$(function() {
  $.getJSON('http://ucotd.manuel-strehl.de/index.json', function (data) {
    $('#ucotd').html('<p><em>Unicode Character of Today:</em> ' +
                       '<strong>' + data[3] + ' U+'+data[0]+'</strong> ' +
                       data[1] + ', ' + data[4] + '</p>');
  });
});

Live example: