diff -r 22a009561502 -r 2adfa4c60bff controls/DebugVariablePanel/DebugVariableItem.py --- a/controls/DebugVariablePanel/DebugVariableItem.py Fri Jan 19 19:58:44 2024 +0100 +++ b/controls/DebugVariablePanel/DebugVariableItem.py Sat Jan 20 11:41:17 2024 +0100 @@ -255,7 +255,7 @@ if self.VariableType in ["STRING", "WSTRING"]: # String data value is CRC - num_value = (binascii.crc32(value) & STRING_CRC_MASK) + num_value = (binascii.crc32(value.encode()) & STRING_CRC_MASK) elif self.VariableType in ["TIME", "TOD", "DT", "DATE"]: # Numeric value of time type variables # is represented in seconds