hostname contains Unicode characters. If this returns
TRUE, you need to encode the hostname with
before using it in non-IDN-aware contexts.
Note that a hostname might contain a mix of encoded and unencoded
segments, and so it is possible for
g_hostname_is_ascii_encoded() to both return
TRUE for a name.
Available since: 2.22
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.