c - getenv - Environment variable on Mac OS X and Linux -
getenv used accessing environment variables on mac os x , linux, takes char* input. mean cannot store unicode strings value in these environment variables on these systems?
while on windows getenvironmentvariable etc, return wide strings can accommodate utf16 strings.
unix systems not invented widestrings in mind, then. there no possibility create widestring environment variables or read them.
windows there expansion c-runtime wchar_t *_wgetenv( const wchar_t *varname );, won't give use on unix-systems.
Comments
Post a Comment