Files
RedBear-OS/recipes/libs/glib/source/docs/reference/glib/host-utils.md
T
vasilito facf0c92e0 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

964 B

Title: Hostname Utilities SPDX-License-Identifier: LGPL-2.1-or-later SPDX-FileCopyrightText: 2008 Dan Winship

Hostname Utilities

Functions for manipulating internet hostnames; in particular, for converting between Unicode and ASCII-encoded forms of Internationalized Domain Names (IDNs).

The Internationalized Domain Names for Applications (IDNA) standards allow for the use of Unicode domain names in applications, while providing backward-compatibility with the old ASCII-only DNS, by defining an ASCII-Compatible Encoding of any given Unicode name, which can be used with non-IDN-aware applications and protocols. (For example, “Παν語.org” maps to “xn--4wa8awb4637h.org”.)

Hostname Conversions

  • [func@GLib.hostname_to_ascii]
  • [func@GLib.hostname_to_unicode]

Hostname Checks

  • [func@GLib.hostname_is_non_ascii]
  • [func@GLib.hostname_is_ascii_encoded]
  • [func@GLib.hostname_is_ip_address]