Vida Marcell Posted December 5, 2021 Share Posted December 5, 2021 Hi everyone, another question, i dont know what i'm doing wrong, i think i cant explain this: partners->AddItem(name->GetText()); stream->WriteWLine(name->GetText() + " " + mobil->GetText() + " " + company->GetText() + " " + adress->GetText() + " " + "\n"); if (profilepic->pixmap) if i only write one line its fine: but when i write an another line: Quote Link to comment Share on other sites More sharing options...
Josh Posted January 7, 2022 Share Posted January 7, 2022 There is no cross-platform technique for storing text files with wide strings. Although the file will be understood by your program when you reload it, Notepad does not understand it. I think you have to prefix the file with two special bytes, but I can't remember which. You can test this by saving a file in notepad with different encodings, and then reading the first two bytes to see what they are. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.