Encoding basic support created
fix #6