mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Convert non ASCII ssid for display to utf8
Convert hex bytes to binary. Assumes utf8 encoding
This commit is contained in:
		@@ -190,3 +190,12 @@ function reinitializeWPA($force)
 | 
				
			|||||||
    return $result;
 | 
					    return $result;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/*
 | 
				
			||||||
 | 
					 * Replace escaped bytes (hex) by binary - assume UTF8 encoding
 | 
				
			||||||
 | 
					 *
 | 
				
			||||||
 | 
					 * @param string $ssid
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					function ssid2utf8($ssid) {
 | 
				
			||||||
 | 
					    return  evalHexSequence($ssid);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user