Crate utf8_locale
source · [−]Expand description
utf8-locale: detect a UTF-8-capable locale for running child processes in.
Sometimes it is useful for a program to be able to run a child process and
more or less depend on its output being valid UTF-8. This can usually be
accomplished by setting one or more environment variables, but there is
the question of what to set them to - what UTF-8-capable locale is present
on this particular system? This is where the utf8_locale
module comes in.
Re-exports
Modules
Detect a UTF-8-capable locale.