You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when I run regz the output is LE UTF-16:
$ file generated.zig
generated.zig: Little-endian UTF-16 Unicode text, with CRLF line terminators
I'd prefer if the output format was UTF-8 instead of another encoding. Attempting to compile a zig file that is LE UTF-16 encoded results in a very strange error. As it stands I have to re-encode the generated file in order to utilize it in my projects.
Commit: cca83d5
OS: Windows 10
Version: Zig 0.13.0
The text was updated successfully, but these errors were encountered:
I have since discovered Powershell uses LE UTF-16, and it's very much hard coded :)
So I think the real issue is lacking an option to write the output directly to a file. An option like -o registers.zig could allow for UTF-8 to simply be used across every OS.
Currently when I run
regz
the output is LE UTF-16:I'd prefer if the output format was UTF-8 instead of another encoding. Attempting to compile a zig file that is LE UTF-16 encoded results in a very strange error. As it stands I have to re-encode the generated file in order to utilize it in my projects.
Commit: cca83d5
OS: Windows 10
Version: Zig 0.13.0
The text was updated successfully, but these errors were encountered: