# Fix Windows builds from non-ASCII checkout paths \(\#64947\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/263fb111771c0932c8b0ab1cdf8b1a501ad3f19e)

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

Visibility: public

Requested revision: 263fb111771c0932c8b0ab1cdf8b1a501ad3f19e

Requested commit: 263fb111771c0932c8b0ab1cdf8b1a501ad3f19e

Commit: 263fb111771c0932c8b0ab1cdf8b1a501ad3f19e

Tree: fba7b628b19d1c770e089687d37c052333cbca12

Author: Prohect

Committer: GitHub

## Message

```
Fix Windows builds from non-ASCII checkout paths (#64947)

## Summary

Closes #64945.

Add UTF-8 header to `rc_content` which is passed to rc.exe as args.

## Testing

Before this change: build failed with `thread 'main' (7344) panicked at
crates\windows_resources\src\windows_resources.rs:122:10:
called `Result::unwrap()` on an `Err` value: Failed("RC.EXE failed to
compile specified resource file")`

Alfter this change: build success.

## Self-review

- [x] I've reviewed my diff for quality, security, reliability, and
performance.
- [x] UI changes follow the
[checklist](https://zed.dev/docs/development/ui-checklist).
- [x] Tests cover the new or changed behavior.

Release Notes:

- N/A

Co-authored-by: Kunall Banerjee <hey@kimchiii.space>
```

## Parents

- [0f9c923e674e13e2891aaf31b33bbbc43d08b699](https://git.cafe/gitcafe/zed/commit/0f9c923e674e13e2891aaf31b33bbbc43d08b699?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/263fb111771c0932c8b0ab1cdf8b1a501ad3f19e?format=markdown)
