Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
Reading Korean Characters from .csv and displaying on LineEdit
I am reading one .csv file,which has Korean Characters. I read the file but when I m displaying it on lineEdit, it is not correctly displayed. Please tell me how i can get rid of this problem.
Some like this:
if (!csvFile.open(QIODevice::ReadOnly | QIODevice::Text))
QMessageBox::critical(this,tr("Error"),tr("Can't open CSV file \n%1.").arg(csvName));
And then reading data from the stream
It's not working. I am using csvreader from this website "CSV-Reader":http://qtsimplify.blogspot.kr/2013/02/dealing-with-csv-files-easy-way.html. and i added the two lines as per your instructions but it didn't work. Any other solutions?
What encoding does your CSV file use? UTF-8, or EUC-KR, or something else?
Can you give me the file you want to read?
I'm busy right now, but latter can try to work with it. You can send it to firstname.lastname@example.org
I sent you an email. Please check it. Thanks
I've got email, but my answer can't be send by email server. No matter. I can write here :)
Look the archive, link below . It's little project.
I read csv file and fill the listWidget with receiveing data (function openFileBtnClicked() in TMainWnd.cpp).
No 3-d party code. Easy and works fine. For your purpose you can take this code as a base. Then create needed tableModel and other what you want.
Thanks for your help. I can not see any thing on the link. It's totally in Russian and also there is nor file or no code to see. Can you please look at it. Thanks
someone download file first :D on that sharing "delete after download" system of sharing by default. I've corrected, set "don't delete".
HI Subst27, I sent you an email. If you have time then kindly look at it. Thanks