Bug #69053 [Fbk->NoF]: WideCharToMultiByte not using dwFlags

From: Date: Sun, 22 Feb 2015 04:22:20 +0000
Subject: Bug #69053 [Fbk->NoF]: WideCharToMultiByte not using dwFlags
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190882@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69053&edit=1 ID: 69053 Updated by: php-bugs@lists.php.net Reported by: jamiep at p-pdata dot com Summary: WideCharToMultiByte not using dwFlags -Status: Feedback +Status: No Feedback Type: Bug Package: COM related Operating System: Windows PHP Version: 5.6.5 Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2015-02-14 18:38:52] ab@php.net Could you please supply a test case for this? Thanks. ------------------------------------------------------------------------ [2015-02-14 18:24:22] jamiep at p-pdata dot com Description: ------------ As per https://msdn.microsoft.com/en-us/library/windows/desktop/dd374130%28v=vs.85%29.aspx 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69053&edit=1

« previous php.bugs (#190882) next »