CometWolf, on 05 May 2014 - 08:39 PM, said:
Why would you serialize a lone string in the first place...? I assume this happens if it's contained in a table aswell?
Yes it does, textutils.serialize serializes everything that is in a table using itself.
I was testing my program, serializing a table and saving it to a file, and found this problem. I'm actually wondering how long this bug exists because I don't think Dan changed all of the serialize function when he updated to CC 1.6 and I think this bug may be living since the creation of this function...
EDIT:
CometWolf, on 05 May 2014 - 08:39 PM, said:
Why would you serialize a lone string in the first place...?
If you're creating a config file and want values to be properly serialized before saving them, IDK.
Edited by MKlegoman357, 05 May 2014 - 09:14 PM.