Skip to content

Commit

Permalink
Merge pull request #42 from basemachina/fix-convert-ignore-doc-en
Browse files Browse the repository at this point in the history
fix comment in example code for fallback-ignore option of convert function
  • Loading branch information
polygonplanet authored Jun 2, 2024
2 parents a9a4172 + adfa157 commit e9edbed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ let sjisArray = Encoding.convert(unicodeArray, {
});
console.log(sjisArray); // Converted to a code array of '寿司?ビール?'

// Specify `fallback: html-entity`
// Specify `fallback: ignore`
sjisArray = Encoding.convert(unicodeArray, {
to: "SJIS",
from: "UNICODE",
Expand Down

0 comments on commit e9edbed

Please sign in to comment.