-
-
Notifications
You must be signed in to change notification settings - Fork 625
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add warning for not specifying charset when using JSON
- Loading branch information
1 parent
f33437f
commit 722d967
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
would it be better to check for "non-utf8" here? Alternatively assign later, e.g
function(encoding) { /* check for "typeof encoding === 'undefined'" to see if set, and use later as encoding ?? field.encoding ... */ }