|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-06-29 07:05 UTC] 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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 08:00:02 2025 UTC |
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 :)