ID: 9263
Updated by: phanto
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: COM related
Assigned To:
Comments:
this has already be fixed in cvs, i thought it would be in 4.0.4pl1 too.
the conversion functions moved to conversion.c in the ext/com/ dir and dotnet uses
ID: 9263
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: COM related
Description: COM returns bad characters
I'm sorry, I forget break off string.
Right code:
static OLECHAR *php_char_to_OLECHAR(char *C_str, uint strlen)
{
OLECHAR *unicode_str = (OLECHAR *) emalloc(sizeof(O
ID: 9263
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: COM related
Description: COM returns bad characters
Ok people.
I correct your COM code. Unicode isn't add zero to ASCII code.
MultiByteToWideChar and WideCharToMultiByte functions:
first parameter is code page - this must be adj
ID: 9263
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: COM related
Description: COM returns bad characters
Note: I use Czech language. I think there is missing choosing charset for COM for
converting from unicode...
Previous Comments:
---