Ver Mensaje Individual
  #2  
Antiguo 26-09-2016
exmachina exmachina is offline
Miembro
NULL
 
Registrado: sep 2016
Ubicación: 127.0.0.1
Posts: 30
Reputación: 0
exmachina Va por buen camino
Segun he visto en internet el tipo xmlChar es unsigned char y representa a una cadena UTF-8, por lo tanto deberia funcionar bien de la siguiente forma:

Código PHP:
UnicodeString us UTF8ToString(reinterpret_cast<char*>(xmlbuff)); 
o asi
Código PHP:
int cbwchars =  MultiByteToWideChar(CP_UTF8,xmlbuff, -1NULL 0);
wchar_twstr = new wchar_t[cbwchars];
MultiByteToWideCharCP_UTF8 xmlbuff, -1wstrcbwchars);
...
delete[] wstr
Responder Con Cita