Dear Fet family,
I have investigated FET to use in my Timetable Building Project.
I am very happy and interesting with this features.
But when I used Command line, I got some problems with Vietnamese character.
Example: when I run this command: "C:\Users\nxan\Downloads\fet-5.30.2>fet-cl --inputfile=namnt/data/TKB_10_afternoon.fet --outputdir=namnt/result --language=vi"
The notice output (unsuccessful) is:
TiΩu d?: C?nh bßo
Th⌠ng bßo: Kh⌠ng th? th?a mπn gißo viΩn 594583152 v∞ t?ng th?i lu?ng yΩu c?u cho gißo viΩn lα 32 trong khi b?n ch? c≤ 6 ngαy x 5 gi? trong 1 tu?n.
You can see there are many weird characters with Vietnamese accents, I don't know how to fixed this problems, I tried some ways such as change command line character code chcp, but not work.
My desired results is output with correct Vietnamese characters: "Tiêu đề: Cảnh báo" ...
Please help me to solve it.
Thank all of you, wait for your help.
On my computer, on Windows 7, I obtain the same problems as you. On GNU/Linux it works correctly, as in the attached file. I don't know how to solve this.
hmmm... i guess the windows terminal doesn't use the "correct" encoding.
i remember cppcheck has got the same bug.
i also remember they suggested a solution, but they reject the solution, because cppcheck slow down too much.
i am not sure if translation will still work fine with that solution (or if it will work only with english one).
i don't know if FET will also slow down.
maybe we can try that solution and/or should check later again if the cppcheck guys found a better solution.
see:
http://trac.cppcheck.net/ticket/439
Thank Liviu Lalescu and Volker Dirr for your quickly response.
Fortunately this problem doesn't occur on GNU/Linux.
In window 7 (Liviu's) and window 10 (mine), I am going to research more to find the solution.
Hi Luviu, I found this link, I think they faced to the same problem with us.
http://www.cplusplus.com/forum/windows/9797/ (http://www.cplusplus.com/forum/windows/9797/)
I am not sure. I did not read thoroughly.
I am using Qt and qPrintable.