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
COMMUNITY QUESTION
Any possible way to change arrays to a proper UTF-8 format?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

5 comments
short answer: JSON encode, but you dont have to convert arrays into UTF-8 format to store them in the datastore service
Datastores already use JSONEncode, so it would be pointless to do it in that way.
theking48989987 I tried storing an array in the datastore and it gave a UTF-8 error.
theres recently been 403 errors happening to data stores that UTF-8 error might be another bug roblox could look into.
I found my answer Vector3's are not considered valid UTF-8