Hi all,
I am working on S60 3rd edition. I am using the HTTP engine present in forum nokia to carry out get and post transaction. In this regard i have a few queries. I am giving relevant parts of the code.
I am accumulating the response that i am getting from the server in 16 bit descriptor (iResponseBuffer).Code:void CHttpEngine::MHFRunL(RHTTPTransaction aTransaction, const THTTPEvent& aEvent) { .... case THTTPEvent::EGotResponseBodyData: { // Get text of response body MHTTPDataSupplier* dataSupplier = aTransaction.Response().Body(); TPtrC8 ptr; dataSupplier->GetNextDataPart(ptr); // Convert to 16-bit descriptor HBufC* buf = HBufC::NewLC(ptr.Length()); buf->Des().Copy(ptr); // Append to iResponseBuffer if (!iResponseBuffer) { iResponseBuffer = buf->AllocL(); } else { iResponseBuffer = iResponseBuffer->ReAllocL(iResponseBuffer->Length() + buf->Length()); iResponseBuffer->Des().Append(*buf); } // Release buf CleanupStack::PopAndDestroy(buf); // Release the body data dataSupplier->ReleaseData(); } break; ...... }
Now i am printing the respose using Information note. I have tested this application and it displays proper
data. Now i want to make the application multilingual (English and Hindi). Now using localization technique
i am displaying the static Hindi or English data. But i need to display the dynamic data that comes from the server in Hindi or english depending on what the server is sending. Now if the server sends Hindi data,
and using the information note i display the iResponseBuffer, will it display in Hindi or do i need to do
anything else to display this dynamic data in Hindi.
thanks and regards,
kkc



