mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Convert non ASCII ssid for display to utf8
Convert hex bytes to binary. Assumes utf8 encoding
This commit is contained in:
parent
d478bf5362
commit
077a9cd675
@ -181,3 +181,12 @@ function reinitializeWPA($force)
|
||||
return $result;
|
||||
}
|
||||
|
||||
/*
|
||||
* Replace escaped bytes (hex) by binary - assume UTF8 encoding
|
||||
*
|
||||
* @param string $ssid
|
||||
*/
|
||||
function ssid2utf8($ssid) {
|
||||
return evalHexSequence($ssid);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user