# slight modification of the semantics of std.os.getenvW · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/8bf7cffe29b520cda094756309bca1d354af0d6b)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 8bf7cffe29b520cda094756309bca1d354af0d6b

Requested commit: 8bf7cffe29b520cda094756309bca1d354af0d6b

Commit: 8bf7cffe29b520cda094756309bca1d354af0d6b

Tree: a71b69111bbd63390e7b3a435a3f1932aaaf5fa5

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
slight modification of the semantics of std.os.getenvW

Now, this function first attempts a case-sensitive lookup.
If no match is found, and `key` is ASCII, then it attempts a
second case-insensitive lookup.

It is not planned to support full Unicode case-insensitivity
on Windows, and in fact relying on non-ASCII case-insensitive
environment variables is fundamentally problematic.

```

## Parents

- [ba1a8b64c44b9b99e9f0002555b9b4a35092e8f6](https://git.cafe/gitcafe/zig/commit/ba1a8b64c44b9b99e9f0002555b9b4a35092e8f6?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/8bf7cffe29b520cda094756309bca1d354af0d6b?format=markdown)
