|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7823 Chinese Character via COM Interface
Submitted: 2000-11-14 21:41 UTC Modified: 2001-01-02 18:17 UTC
From: wlskwork at hongkong dot com Assigned:
Status: Closed Package: COM related
PHP Version: 4.0.3pl1 OS: Windows NT 4 (Traditional Chines
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: wlskwork at hongkong dot com
New email:
PHP Version: OS:


 [2000-11-14 21:41 UTC] wlskwork at hongkong dot com
We automate MS Word 97 via PHP COM feature directly. We successfully put english text into Word Document. However, all chinese character (double-bytes character) has been changed to other character when passing into MS Word.

Later on, I write a VB COM to automate MS word so that php automate MS Word indirectly via that additional COM object. Information is passed to the COM object and the COM object passes information into MS Word. Chinese character still altered.

There is no problem when I rewrite all the related php page using asp.

It seems to be something between COM and PHP does not handle double-byte character correctly.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-02 18:17 UTC]
This should be fixed in CVS now.  

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon May 29 01:03:39 2023 UTC