std1.0.0-beta-7 SafeC docs

std :: locale

Function std::locale_set

#include <std/locale.h> source ยท definition

const ?&char locale_set(int category, const &char name)

Set the locale for a given category. name: "" = system default, "C" = POSIX/C locale, "en_US.UTF-8", etc. Returns the new locale string, or NULL on failure.