time-util,socket: accept both kinds of unicode µ symbols
authorLennart Poettering <lennart@poettering.net>
Wed, 14 Jun 2023 08:09:22 +0000 (10:09 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 14 Jun 2023 08:15:41 +0000 (10:15 +0200)
commitd0a6d7c4d1285d6af2be299a466c964f0c5991a2
treefbca2ed76e47cf593c505a7597c00b0031f6f473
parent5bc4570fd46237be211e9a1bf0fbab636fd3bfab
time-util,socket: accept both kinds of unicode µ symbols

Apparently there are two µ symbols, accept both when parsing.

One is the greek small letter mu (μ) the other is the micro sign (µ).
Unicode recommendation considers both equivalent, and says use of greek
small letter mu is preferred. See:

https://www.unicode.org/reports/tr25

Hence accept both when parsing.

Inspired by: #28029
src/basic/time-util.c
src/core/socket.c
src/test/test-time-util.c