diff --git a/ssc/symbol table.cs b/ssc/symbol table.cs index eb8518d..b647e35 100644 --- a/ssc/symbol table.cs +++ b/ssc/symbol table.cs @@ -37,7 +37,7 @@ namespace arookas writer.WriteS32(0); writer.WriteS32(0); - ofs += sym.Name.Length + 1; // include null terminator + ofs += writer.Encoding.GetByteCount(sym.Name) + 1; // include null terminator } foreach (var sym in this) {