ID:               24382
 Updated by:       [EMAIL PROTECTED]
 Reported By:      yossb at nirlat dot co dot il
-Status:           Open
+Status:           Bogus
 Bug Type:         COM related
 Operating System: Win2000pro
 PHP Version:      4.3.2
 New Comment:

RTFM:

string COM::COM ( string module_name [, string server_name [, int
codepage]])

..

"codepage

specifies the codepage that is used to convert php-strings to
unicode-strings and vice versa. Possible values are CP_ACP, CP_MACCP,
CP_OEMCP, CP_SYMBOL, CP_THREAD_ACP, CP_UTF7 and CP_UTF8."

The line should read:

$com = new COM ("D_dll.OleDll", "localhost", CP_UTF8);

(Disclaimer: I've NEVER used COM, I don't do windows :)



Previous Comments:
------------------------------------------------------------------------

[2003-06-29 07:05:39] yossb at nirlat dot co dot il

Description:
------------
We are using OLE with DLL files, Writen VB, and compiled as COM . 
No problem to get from the OLE all English&Digits, but the Hebrew chars
we get : ?????????. ( ASCII 63 )
We expected to get from ASCII  224 To ASCII 250.
If we send Hebrew string directly from PHP we get Hebrew ok.
 ( We check the OLE and the DLL in ASP & IIS . We get the Hebrew OK. )

We are using APACHE 1.3 & PHP 4.3.2. 
It looks like Bug #9263.
We tried to write:
 $com = new COM ( "D_dll.OleDll", "localhost", CODEPAGE DEAFULT CP_UTF8
)
We get compiler ERR "....unexpected T_STRING..."

Please help ! thanks 




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24382&edit=1

Reply via email to