CCHttpClient Encoding problem

CCHttpClient Encoding problem
0.0 0


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);

string wStr(jenny);

CCLog(“%ls”, &wStr);
CCString Response : Get data from file(< ?xml version=“1.0” encoding=“utf-8”?> < string xmlns=“” > Gönderildi < / string >

string CCLOg Response : ����k�4p�