upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAGInformatique81 <327468329+AGInformatique81@users.noreply.github.com>2026-11-23 02:22:00 +0100
committerAGInformatique81 <327468329+AGInformatique81@users.noreply.github.com>2026-11-23 02:22:00 +0100
commited988486b86b36ab3dfe9e4c468e810231c19294 (patch)
treecd5c6a250f48c27fb9df755e9358ed0cbca4fcd9 /docs
parent03b09a086592a197db64d91655c6e65c30764d96 (diff)
Read UTF-16 boot trace logs from Windows PowerShell
Diffstat (limited to 'docs')
-rw-r--r--docs/boot.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/boot.md b/docs/boot.md
index 4738b9a73..4ee9a00d9 100644
--- a/docs/boot.md
+++ b/docs/boot.md
@@ -40,10 +40,8 @@ $log = Join-Path $env:TEMP d3d12.log
40python -I tools\boot_trace.py $trace --d3d12 $log 40python -I tools\boot_trace.py $trace --d3d12 $log
41``` 41```
42 42
43Windows PowerShell 5.1 writes `2>` as UTF-16LE; the tool names that file instead of parsing it. Use 43The tool reads UTF-8 and UTF-16 with a byte-order mark, including the UTF-16LE log that Windows PowerShell 5.1
44`2>&1 | Out-File -Encoding utf8 $log` there, or PowerShell 7, which defaults to UTF-8. The tool strips the BOM that 44writes with `2>`. It also recognizes the `program.exe : ` prefix that PowerShell 5.1 adds to the first stderr line.
455.1 writes with `utf8`, and accepts the `program.exe : ` prefix 5.1 puts in front of the first stderr line when it
46turns it into an error record, so that call is not lost. `cmd /c` writes the lines unchanged.
47 45
48Linux under Wine (a cross build made with xwin, or the `runtime-windows` artifact; the backend must be Vulkan): 46Linux under Wine (a cross build made with xwin, or the `runtime-windows` artifact; the backend must be Vulkan):
49 47