Fix MSVC warning C4819
Replaces a U+00A0 character with regular space, and fixes a typo.
This commit is contained in:
		
							parent
							
								
									1ca6ec1dc0
								
							
						
					
					
						commit
						ab0e8b2f3a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -6564,7 +6564,7 @@ class serializer
 | 
				
			||||||
                        // check that the additional bytes are present
 | 
					                        // check that the additional bytes are present
 | 
				
			||||||
                        assert(i + bytes < s.size());
 | 
					                        assert(i + bytes < s.size());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                        // to use \uxxxx escaping, we first need to caluclate
 | 
					                        // to use \uxxxx escaping, we first need to calculate
 | 
				
			||||||
                        // the codepoint from the UTF-8 bytes
 | 
					                        // the codepoint from the UTF-8 bytes
 | 
				
			||||||
                        int codepoint = 0;
 | 
					                        int codepoint = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue