php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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.

Patches

Pull Requests

History

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

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 12:01:30 2024 UTC