fix string encoding as per #100
Merge pull request #101 from flaviogrossi/master

fixed some old references to removed functions enc() and dec()