Skip to content

Commit

Permalink
update cr module to use BRO encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
lunakv committed Nov 17, 2022
1 parent a54be65 commit ba798c9
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 ba798c9

Please sign in to comment.