I have a data saving script that uses arrays but it needs to have proper UTF-8 format. if not then should i use multiple set a-syncs for different values? my scripts for the saving system are on this link :https://scriptinghelpers.org/questions/75516/data-saving-script-erroring-on-test-player-1-leaving-and-test-player-2-joining-then-leaving

5 comments

0

short answer: JSON encode, but you dont have to convert arrays into UTF-8 format to store them in the datastore service

0

Datastores already use JSONEncode, so it would be pointless to do it in that way.

0

theking48989987 I tried storing an array in the datastore and it gave a UTF-8 error.

0

theres recently been 403 errors happening to data stores that UTF-8 error might be another bug roblox could look into.

0

I found my answer Vector3's are not considered valid UTF-8