Missing data encodings?

Dear lazyweb, are there any useful data encodings missing from the following list?

  • Uuencode
  • Base64
  • Base64Url
  • Base32
  • Base32Hex
  • Base16
  • Base85
  • yEncoding

11 Comments

  1. Rot13 – yes it is stupid, but it is perniciously common.

    Octal? (Base8)

  2. John Dorsey says:

    How about Base36? I understand it still sees some use.

    http://tinyurl.com/jfvqr

  3. Magnus says:

    @Crutcher, is rot13 on data (as in (v + 13) mod 255) really established? I’ve seen it used as a text encoding but not as a data encoding.

    I’m not sure what you mean by Octal (Base8), do you have any URL for it?

    @John, thanks for that link, I haven’t come across Base36 before myself.

  4. solrize says:

    Yes, several, why not look at the ones included with python and incorporate all of them.

  5. Magnus says:

    @solrize, where do I find a list of the data encodings included with Python?

  6. csoroz says:

    Xxencode, Binhex, Quoted-Printable (encodings)

  7. solrize says:

    http://docs.python.org/library/codecs.html#standard-encodings

    Hmm, there’s an awful lot. The list for Java is probably even worse.

  8. Magnus says:

    @csoroz, thanks for that link. Now I have some more stuff to put into my Haskell data encoding library.

    @solrize, the vast majority of those encodings are for text (the first table), I’ll have a look at the ones in the second table some of them would be useful to have.

  9. Niklas says:

    How about quoted-printable and URL encoding? I guess they are both most useful when the data is mostly ASCII but they can be used to encode arbitrary data.

  10. Magnus says:

    @Niklas, they are included in the list I have so far: xxencode, binhex (hexadecimal), quoted-printable, python-string-escaping, and URI encoding (percent encoding).

  11. Magnus says:

    @John, on reading more about Base 36 it seems it isn’t a data encoding at all, it’s only a numeral system with base 36 (just like hexadecimal is a numeral system with base 16). It’s confusing that the name is so similar to Base64 and others.

Leave a Reply

Please use markdown to make your comment beautiful.