Commit Graph

4 Commits

Author SHA1 Message Date
Mikkel Krautz
f6ba3a52bf Auto-update LICENSE.header in source files. 2018-01-01 23:05:37 +01:00
Mikkel Krautz
3399a50b8e Implement EnvUtils::setenv
This commit implements EnvUtils::setenv, and ensures it uses
fromLocal8Bit/toLocal8Bit like setenv() does.

Originally implemented by Jan Klass (UTF-8 version)
2017-05-20 19:58:32 +02:00
Mikkel Krautz
b8c70b7f22 EnvUtils: convert EnvUtils to use local 8-bit instead of UTF-8.
In the common case, we still use UTF-8, since most users use a
UTF-8 locale, but for the users who do not, this ensures we don't
destructively rewrite any environment variables.
2017-05-20 19:52:30 +02:00
Jan Klass
a53581013e Make EnvUtils available to Murmur
Move EnvUtils to the src directory so we can use this utility class in
the murmur project (src/murmur) as well.
2017-04-29 12:39:39 +02:00