README.md — Documentation complète du projet

Refonte action Write : modifier les XML existants au lieu de les regenerer
This commit is contained in:
2026-03-04 08:16:23 +01:00
parent c75c731ddc
commit 83df3cc4ef
5 changed files with 467 additions and 46 deletions

View File

@@ -20,7 +20,8 @@ function New-EnoceanZip {
$entry = $archive.CreateEntry($entryPath, [System.IO.Compression.CompressionLevel]::Optimal)
$entryStream = $entry.Open()
$writer = New-Object System.IO.StreamWriter($entryStream, [System.Text.Encoding]::UTF8)
$utf8NoBom = New-Object System.Text.UTF8Encoding($false)
$writer = New-Object System.IO.StreamWriter($entryStream, $utf8NoBom)
$writer.Write($xmlFile.Content)
$writer.Flush()
$writer.Close()