Skip to content

Commit

Permalink
Merge pull request #182 from lunakv/change-encoding
Browse files Browse the repository at this point in the history
Change CR character encoding
  • Loading branch information
multimeric authored Nov 17, 2022
2 parents a54be65 + ba798c9 commit 518a67f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/cr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default class CR {
try {
const res = await fetch(CR_ADDRESS);
const buff = await res.buffer();
this.parseCr(iconv.decode(buff, "utf-8"));
this.parseCr(iconv.decode(buff, "utf-16"));
this.buildSuggestions();
} catch (err) {
log.error("Error loading CR: " + err);
Expand Down

0 comments on commit 518a67f

Please sign in to comment.