mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 18:38:25 +00:00
8a883140cb
* Infer character encoding for ifAlias and sysLocation Tries to convert character encoding for non-UTF-8 encoded strings. This will only work for snmp strings that are type-hinted, not ones forced to ASCII with -Oa or similar Only works for your default charset or Windows-1251 or LATIN1. You can set your character encoding in .env with CHARSET Please save us all and just use UTF-8 * style fixes * less Yoda * ensure return type * fall back to passed string * don't convert strings with any unprintable characters (such as line return) * Update LibreNMS/Util/StringHelpers.php Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com> * Fix CP850 * fix space Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com> |
||
---|---|---|
.. | ||
Categorizer.php | ||
CiHelper.php | ||
Clean.php | ||
CliColorFormatter.php | ||
Colors.php | ||
Debug.php | ||
Dns.php | ||
DynamicConfig.php | ||
DynamicConfigItem.php | ||
EnvHelper.php | ||
FileCategorizer.php | ||
Git.php | ||
GitHub.php | ||
Graph.php | ||
Html.php | ||
IP.php | ||
IPv4.php | ||
IPv6.php | ||
Laravel.php | ||
ModuleTestHelper.php | ||
Number.php | ||
ObjectCache.php | ||
OS.php | ||
Rewrite.php | ||
Smokeping.php | ||
Snmpsim.php | ||
StringHelpers.php | ||
Time.php | ||
Url.php | ||
Validate.php | ||
Version.php |