Skip to main content
  1. Blog Archive/

EPG data conversion

I came across a curious issue with EPG data the other weekend. Here’s a screenshot of what was rendered by the TV:

0×92 is the ANSI hex value for a right single quotation mark. In HTML entity terms, it is ’ and should look like . Unfortunately, EPG data in the UK is encoded as ISO-8859-1, and does not contain an equivalent character, so the nearest is a simple apostrophe, ', ASCII 0×27. The system behind converting source EPG data into 8859-1 obviously suffers from the occasional translation error.

More on quotation marks and character sets can be found in Markus Kuhn’s ASCII and Unicode quotation marks page, should readers be so inclined.

Nick Ludlam
Nick Ludlam
Creative Technologist