diff --git a/KerepWrapper/Dtsod/DtsodV24.cs b/KerepWrapper/Dtsod/DtsodV24.cs index 50d3c38..267c2a3 100644 --- a/KerepWrapper/Dtsod/DtsodV24.cs +++ b/KerepWrapper/Dtsod/DtsodV24.cs @@ -2,6 +2,7 @@ using System; using System.Collections; using System.Collections.Generic; using DTLib.Dtsod; +using DTLib.Extensions; using KerepWrapper.KerepTypes; using KerepWrapper.Autoarr; using Funcs=KerepWrapper.Dtsod.DtsodV24Functions; @@ -32,9 +33,9 @@ public class DtsodV24 : IDtsod, IEnumerable, IDisposable public IDictionary ToDictionary() { - DtsodDict dict = new(); + Dictionary dict = new(); foreach (var p in this) - dict.Add(p.key,p.value.ToDynamic()); + dict.Add(p.key.HGlobalUTF8ToString(),p.value.ToDynamic()); return dict; }