Missing data encodings?

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

  • Uuencode
  • Base64
  • Base64Url
  • Base32
  • Base32Hex
  • Base16
  • Base85
  • yEncoding
⟸ My thoughts on debianisation of haskell packages dataenc 0.12.1.0 released ⟹

Crutcher Dunnavant

Rot13 - yes it is stupid, but it is perniciously common.

Octal? (Base8)

Magnus

@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.

solrize

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

Magnus

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

csoroz

Xxencode, Binhex, Quoted-Printable (encodings).

Magnus

@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.

Niklas

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.

Magnus

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

Magnus

@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 comment