I looked for a "step by step" tutorial about how to correctly manage UNICODE texts with Free Pascal but I didn't found any in the whole Internet, I only find partial explanations about data types or how to convert text form this enconding to that other one, but not an actual simple example. I mean, it shouldn't be hard to
"the user inputs text, then I save that text in a UTF-8 text file in a filesystem that uses UTF-8 for filenames, while using LCL internationalization utils for labels and buttons" or something, but reading the wiki explanations I find it extremely hard.
May be I'm doing the wrong question?I understand how UNICODE works, that's not the problem. I was using UTF-8 for a long time, but I used ANSISTRING to store the texts, and never used UTF-8 to name files (for example). I know it is
wrong but I still used it because it worked for me since I know how the text was encoded, but now and then I'm doing stuff that other people is using and they shouldn't expect to use it wrong, should they?