New version 0.8.2 with support for custom encoding