Module locale

Module locale 

Source
Expand description

Locale-aware string comparison support for LC_COLLATE

This module provides locale-aware string comparison using the system’s strcoll function, respecting the LC_COLLATE environment variable.

Structs§

LocaleConfig
Locale configuration for string comparison

Functions§

smart_compare
Smart comparison that chooses between locale-aware and byte comparison
strcasecoll_compare
Case-insensitive locale-aware comparison using strcasecoll (if available) Falls back to lowercasing + strcoll if strcasecoll is not available
strcoll_compare
Locale-aware string comparison using strcoll