mirror of
https://github.com/Z3Prover/z3
synced 2025-04-07 09:55:19 +00:00
set encoding into gparams because this is the only entry point in zstring #6490
This commit is contained in:
parent
c4b2acac24
commit
d47dd159d7
|
@ -109,6 +109,7 @@ void context_params::set(char const * param, char const * value) {
|
||||||
else if (p == "encoding") {
|
else if (p == "encoding") {
|
||||||
if (strcmp(value, "unicode") == 0 || strcmp(value, "bmp") == 0 || strcmp(value, "ascii") == 0) {
|
if (strcmp(value, "unicode") == 0 || strcmp(value, "bmp") == 0 || strcmp(value, "ascii") == 0) {
|
||||||
m_encoding = value;
|
m_encoding = value;
|
||||||
|
gparams::set("encoding", value);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
std::stringstream strm;
|
std::stringstream strm;
|
||||||
|
|
Loading…
Reference in a new issue