diff --git a/index.js b/index.js index 44f1d51..777d161 100644 --- a/index.js +++ b/index.js @@ -281,7 +281,7 @@ function decodefield (str) { value = getlatin1(binary) break case 'utf-8': - case 'utf8': + case utf8: value = Buffer.from(binary, 'binary').toString('utf8') break default: