<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: encoding</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/encoding.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2009-07-02T19:33:02+00:00</updated><author><name>Simon Willison</name></author><entry><title>Video for Everybody!</title><link href="https://simonwillison.net/2009/Jul/2/camen/#atom-tag" rel="alternate"/><published>2009-07-02T19:33:02+00:00</published><updated>2009-07-02T19:33:02+00:00</updated><id>https://simonwillison.net/2009/Jul/2/camen/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://camendesign.com/code/video_for_everybody#video-code"&gt;Video for Everybody!&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Reminiscent of the early days of Web Standards, Kroc Camen has created a fiendishly clever chunk of HTML which can play a video on any browser, starting with HTML5 video then falling back on Flash and eventually just an HTML message telling the user where they can download the file. No JavaScript to be seen, but conditional comments abound. Requires you to encode as both Ogg and H.264, but Kroc includes details instructions for doing that using Handbrake.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/codecs"&gt;codecs&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/encoding"&gt;encoding&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/h264"&gt;h264&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/hacks"&gt;hacks&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/handbrake"&gt;handbrake&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/html"&gt;html&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/html5"&gt;html5&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/kroccamen"&gt;kroccamen&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ogg"&gt;ogg&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/video"&gt;video&lt;/a&gt;&lt;/p&gt;



</summary><category term="codecs"/><category term="encoding"/><category term="h264"/><category term="hacks"/><category term="handbrake"/><category term="html"/><category term="html5"/><category term="kroccamen"/><category term="ogg"/><category term="video"/></entry><entry><title>Encoded Polyline Algorithm Format</title><link href="https://simonwillison.net/2008/Jan/4/encoded/#atom-tag" rel="alternate"/><published>2008-01-04T16:12:50+00:00</published><updated>2008-01-04T16:12:50+00:00</updated><id>https://simonwillison.net/2008/Jan/4/encoded/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://code.google.com/apis/maps/documentation/polylinealgorithm.html"&gt;Encoded Polyline Algorithm Format&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Google Maps does some pretty crazy bit mangling to create compressed versions of lat/long pairs.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/encoding"&gt;encoding&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/google-maps"&gt;google-maps&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/latlong"&gt;latlong&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/polyline"&gt;polyline&lt;/a&gt;&lt;/p&gt;



</summary><category term="encoding"/><category term="google-maps"/><category term="latlong"/><category term="polyline"/></entry><entry><title>Quoting Rick Jelliffe</title><link href="https://simonwillison.net/2007/Oct/8/text/#atom-tag" rel="alternate"/><published>2007-10-08T12:27:10+00:00</published><updated>2007-10-08T12:27:10+00:00</updated><id>https://simonwillison.net/2007/Oct/8/text/#atom-tag</id><summary type="html">
    &lt;blockquote cite="http://www.oreillynet.com/xml/blog/2007/10/text_encodings_if_we_know_the.html"&gt;&lt;p&gt;The larger question is why on earth, in 2007 and ten years after XML came out, we are still using text files that don't label their encoding?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p class="cite"&gt;&amp;mdash; &lt;a href="http://www.oreillynet.com/xml/blog/2007/10/text_encodings_if_we_know_the.html"&gt;Rick Jelliffe&lt;/a&gt;&lt;/p&gt;

    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/encoding"&gt;encoding&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/rick-jeliffe"&gt;rick-jeliffe&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/textfiles"&gt;textfiles&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/unicode"&gt;unicode&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xml"&gt;xml&lt;/a&gt;&lt;/p&gt;



</summary><category term="encoding"/><category term="rick-jeliffe"/><category term="textfiles"/><category term="unicode"/><category term="xml"/></entry><entry><title>Base32 encoding</title><link href="https://simonwillison.net/2007/Aug/17/base32/#atom-tag" rel="alternate"/><published>2007-08-17T23:25:41+00:00</published><updated>2007-08-17T23:25:41+00:00</updated><id>https://simonwillison.net/2007/Aug/17/base32/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://crockford.com/wrmg/base32.html"&gt;Base32 encoding&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
I was on the verge of inventing this when I discovered that Douglas Crockford had invented it for me.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="http://programming.reddit.com/info/2g3xh/comments/c2g4jz"&gt;programming.reddit.com&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/base32"&gt;base32&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/douglas-crockford"&gt;douglas-crockford&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/encoding"&gt;encoding&lt;/a&gt;&lt;/p&gt;



</summary><category term="base32"/><category term="douglas-crockford"/><category term="encoding"/></entry><entry><title>pybraces</title><link href="https://simonwillison.net/2007/Jul/11/pybraces/#atom-tag" rel="alternate"/><published>2007-07-11T14:48:18+00:00</published><updated>2007-07-11T14:48:18+00:00</updated><id>https://simonwillison.net/2007/Jul/11/pybraces/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://timhatch.com/projects/pybraces/"&gt;pybraces&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
I didn’t know this was possible: a source level filter implemented as a custom -*- encoding: braces -*-


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/braces"&gt;braces&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/encoding"&gt;encoding&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/hack"&gt;hack&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/tim-hatch"&gt;tim-hatch&lt;/a&gt;&lt;/p&gt;



</summary><category term="braces"/><category term="encoding"/><category term="hack"/><category term="python"/><category term="tim-hatch"/></entry></feed>