I request a web page using CCHttpRequest then when I print the received response with CCString I can see turkish characters without any problems but when I assign the received response using std::string and print in CCLOg strange characters come up. How can I fix this?
std::vector **buffer = response->getResponseData;
char jenny ;
for ; i++)
jenny[i] = ;
CCString** uStr = CCString::createWithContentsOfFile(jenny);
CCString Response : Get data from file(< ?xml version=“1.0” encoding=“utf-8”?> < string xmlns=“http://tempuri.org/” > Gönderildi < / string >
string CCLOg Response : ����k�4p�