On Monday, February 3, 2014 6:56:15 PM UTC+1, Sergey Lyubka wrote: > > Pushed > https://github.com/cesanta/mongoose/commit/652c352394b89948aae3dc8335e304a8034a0412 > I am using getenv(), thus not sure how it'll behave on Windows if path > contains non-ascii characters. >
The getenv() function returns an ANSI string. Not sure if this is going to work for unicode strings. There is the _wgetenv() equivalent for unicode strings. Also found that CreateProcessW() can be passed the CREATE_UNICODE_ENVIRONMENT flag. But why wouldn't it be the default when calling the Wide version of CreateProcess()? No idea what exactly this flag does. Best regards, Czarek -- You received this message because you are subscribed to the Google Groups "mongoose-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mongoose-users. For more options, visit https://groups.google.com/groups/opt_out.
