From 2d73818493a3d132398afa6ab4e17ae74d258b63 Mon Sep 17 00:00:00 2001 From: KV Date: Fri, 5 Jul 2024 23:26:24 +0200 Subject: [PATCH] Add TODO about encoding --- src/wireviz/svgembed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wireviz/svgembed.py b/src/wireviz/svgembed.py index c8d637c8..f3b5869f 100644 --- a/src/wireviz/svgembed.py +++ b/src/wireviz/svgembed.py @@ -61,6 +61,6 @@ def embed_svg_images_file( filename_out = filename_in.with_suffix(".b64.svg") filename_out.write_text( embed_svg_images(filename_in.read_text(), filename_in.parent) - ) + ) # TODO: Use encoding="utf-8" in both read_text() and write_text() if overwrite: filename_out.replace(filename_in)