Fix typing error for enc-utf8.js (bug #1)
Merge branch 'release/3.1.2'