August 1st, 2018, 10:38 AM
I am trying to make static library of jpeglib Linux based software on Msvc 2017 - windows 10. I have followed some instructions I googled on the net on how to generate static library for jpeglib....
September 13th, 2017, 05:30 AM
I could not save as ansi, because I have non ISO characters... So I have two options CP1250 or utf-8 from notepad++. I save it in utf-8 without bom in this case.
September 8th, 2017, 07:29 AM
I have tried to compile file:
ts3:~/testlibs/case_test$ g++ -g -std=c++11 -fexec-charset="cp1250" testaca.cpp -o mytest
testaca.cpp: In function ‘int main()’:
testaca.cpp:96:19: error:...
September 7th, 2017, 06:38 AM
gcc 7.1 with C11 linux
fin.imbue(std::locale(fin.getloc(),
new std::codecvt_byname<wchar_t, char, std::mbstate_t>("zh_CN.gb18030")));
produces:
terminate called after...
September 4th, 2017, 10:23 AM
Yes, you are right cross platform. However, I do check both files and both files are encoded as UTF-8....
And I expect that both are utf-8 string as it is above. No need to encode with...
September 4th, 2017, 05:54 AM
I have main.cpp utf8 (no BOM) file where let say function1 (string &strtocompare) is called.string strtocompare = "ČĆÅ*Đ". Function1 is defined in stringFunction.cpp utf8 file from static library...
August 1st, 2017, 07:56 AM
Well, the problem is that I have to use string. It works fine with MSBC++ not problem at all. However, that code goes to tfs sorce control, and than back, and then to Linux by fillezilla. That...
July 28th, 2017, 05:15 AM
I am looking for help on how to transfer cpp file with international characters from MSVC++ to Ubuntu.. such as:
const string sTest = "Å*ČĆÅ*Đ".
To save that on MS Visual studio as UTF-8 or...
April 27th, 2017, 03:04 AM
I am porting software with wstring inside it to Linux gcc . GCC supports -fshort-wchar that switches wchar_t from 4, to two bytes. I do not know whether it is working or not. I am having a problem...