frenk_castle
13th December 2009, 22:41
I am developing an application for my company. It will run under Windows XP with keyboards set to Serbian Latin. Application will in some cases require user to type some text input. A persons name, address that sort of stuff. Now if I use QLineEdit class to take text input from user, QString to store it will I have problems to store that data in QString to store it in the file, and restore it later from file and put it on screen or print it.
I will not do processing of that text data. Just take it, put it in QString, print it, save it to file or read it from file. I have no idea how to google this I tried but found nothing that helps me. I am not very familiar with UTF-8 UTF-16 and what else standards. I just need to know will text that contains Serbian "special" characters be corrupted or will it remain the same. If it matters plan is to save finished documents in xml format.
I have only one Linux computer at my disposal right now, my home computer, so I can't make real test so to speak and even if I halt everything and make some kind of test on some Windows computer I am not sure I will make a good test. I might get the wrong result.
The question is probably stupid but it will be a problem for me if my text input gets corrupted.
Thanks in advance.
I will not do processing of that text data. Just take it, put it in QString, print it, save it to file or read it from file. I have no idea how to google this I tried but found nothing that helps me. I am not very familiar with UTF-8 UTF-16 and what else standards. I just need to know will text that contains Serbian "special" characters be corrupted or will it remain the same. If it matters plan is to save finished documents in xml format.
I have only one Linux computer at my disposal right now, my home computer, so I can't make real test so to speak and even if I halt everything and make some kind of test on some Windows computer I am not sure I will make a good test. I might get the wrong result.
The question is probably stupid but it will be a problem for me if my text input gets corrupted.
Thanks in advance.