LAMW json utf-8 problem lazarus / 43-Android ---------------------------------------------------------------------- xinyiman · 2019-11-15 10:43 Hi guys, I have a problem with manipulating JSONs in android. I practically lose support for utf8. I don't understand why. I gave an example. Just press the button and you will see that the first showmessage correctly displays the values. While the following showmessages when they have to display the name I get the wrong value. I don't understand why. Ideas? ---------------------------------------------------------------------- A.S. · 2019-11-16 19:47 I think you have a problem in source (see attached picture -- from Lazarus IDE Source Editor) ---------------------------------------------------------------------- xinyiman · 2019-11-17 12:54 I don't understand what the problem is in the source. The string displays it correctly with the first showmessage. The problem is later. ---------------------------------------------------------------------- xinyiman · 2019-11-18 11:27 No suggestion? ---------------------------------------------------------------------- xinyiman · 2019-11-19 10:07 Solved, it was enough to add the LazUtils requirement and in the controls.lpr file put the LazUTF8 unit. I foolishly did tests on a Mac with a newer version of FPC than the one that uses LAMW on ubuntu. Arcanum solved.