Skip to content

Commit

Permalink
set encoding into gparams because this is the only entry point in zst…
Browse files Browse the repository at this point in the history
…ring #6490
  • Loading branch information
NikolajBjorner committed Dec 14, 2022
1 parent c4b2aca commit d47dd15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/params/context_params.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ void context_params::set(char const * param, char const * value) {
else if (p == "encoding") {
if (strcmp(value, "unicode") == 0 || strcmp(value, "bmp") == 0 || strcmp(value, "ascii") == 0) {
m_encoding = value;
gparams::set("encoding", value);
}
else {
std::stringstream strm;
Expand Down

0 comments on commit d47dd15

Please sign in to comment.