From 632eeeac85bda1cb8b7ae2274469633071005980 Mon Sep 17 00:00:00 2001 From: KLL535 Date: Sun, 24 Aug 2025 02:14:40 +0300 Subject: [PATCH] Update nodes.py fix utf-8 --- nodes/nodes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nodes/nodes.py b/nodes/nodes.py index 3b3b2df..e22f1f9 100644 --- a/nodes/nodes.py +++ b/nodes/nodes.py @@ -112,7 +112,7 @@ class SimpleLoadLineFromTextFile: file_path = os.path.expandvars(file_path) if not os.path.isfile(file_path): raise FileNotFoundError(f"The file at path '{file_path}' does not exist.") - with open(file_path, 'r', encoding='ISO-8859-1') as file: #utf-8 + with open(file_path, 'r', encoding='utf-8') as file: #utf-8 lines = file.readlines() for line in lines: @@ -933,3 +933,4 @@ NODE_DISPLAY_NAME_MAPPINGS = { "Simple Remove Think": "Simple Remove Think 📚", } +