NJDude Expert Licensed User Longtime User Oct 1, 2012 #1 I would like to save data from a text file to a map like this for example: B4X: Kimono=きもの The problem is that the encoding doesn't work, if I do something like: B4X: Msgbox(Lang.Get("Kimono"), "Test") I get NULL as opposed to the data. How do I save that info to a map? The attached sample shows the problem I'm having. Thank you. Attachments Map_Sample.zip 6.9 KB · Views: 264
I would like to save data from a text file to a map like this for example: B4X: Kimono=きもの The problem is that the encoding doesn't work, if I do something like: B4X: Msgbox(Lang.Get("Kimono"), "Test") I get NULL as opposed to the data. How do I save that info to a map? The attached sample shows the problem I'm having. Thank you.
Erel B4X founder Staff member Licensed User Longtime User Oct 1, 2012 #2 You can use RandomAccessFile.WriteObject / ReadObject to save / load the map. Upvote 0