Small fixes

This commit is contained in:
2024-04-15 11:36:55 +02:00
parent fa00eaaefc
commit 5f8688f0cd
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ namespace Elwig.Helpers.Printing {
progress?.Report(0.0);
using var client = new TcpClient("127.0.0.1", 30983);
using var stream = client.GetStream();
await stream.WriteAsync(Encoding.UTF8.GetBytes(
await stream.WriteAsync(Utils.UTF8.GetBytes(
"-e utf-8;-p;" + (doublePaged ? "-2;" : "") +
$"{string.Join(';', htmlPath)};{pdfPath}" +
"\r\n"));