|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69053 WideCharToMultiByte not using dwFlags
Submitted: 2015-02-14 18:24 UTC Modified: 2015-02-22 04:22 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: jamiep at p-pdata dot com Assigned:
Status: No Feedback Package: COM related
PHP Version: 5.6.5 OS: Windows
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: jamiep at p-pdata dot com
New email:
PHP Version: OS:


 [2015-02-14 18:24 UTC] jamiep at p-pdata dot com
As per

The call to WideCharToMultiByte in ext/com_dotnet/com_olechar.c should be specifying WC_COMPOSITECHECK | WC_ERR_INVALID_CHARS | WC_NO_BEST_FIT_CHARS or loss of data will occur.

Without these flags, strings containing control characters such as ENQ/SOH/EOT do not return full values.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-02-14 18:38 UTC]
-Status: Open +Status: Feedback
 [2015-02-14 18:38 UTC]
Could you please supply a test case for this?

 [2015-02-22 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Feb 27 21:01:27 2024 UTC