SaveToFile must handle Unicode strings, ie output them with \uNNNN or like it. Use Unicode escape for all codes >=128, because utf8 codes all after 127.
Alexey -- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus