Skip to content

Commit 3d735b0

Browse files
committed
use unescape for utf8 support
1 parent 1e8ce25 commit 3d735b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const option_defaults = {
2727
};
2828

2929
const decode_field = val => {
30-
return decodeURIComponent(
30+
return unescape(
3131
val.replace(/%2522/g, '"')
3232
.replace(/%255C/g, '\\')
3333
.replace(/%2520/g, ' ')

0 commit comments

Comments
 (0)