what type of encoding is this? https://gist.github.com/3099844