mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +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
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue