We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a35991 commit 2c05c8dCopy full SHA for 2c05c8d
src/LaunchDarkly/Impl/Integrations/CurlEventPublisher.php
@@ -129,7 +129,7 @@ private function createPowershellArgs(string $payloadFile): string
129
*/
130
private function makePowershellRequest(string $args): bool
131
{
132
- $cmd = base64_encode(iconv("UTF-8", "UTF-16LE", utf8_encode($args)));
+ $cmd = base64_encode(iconv('ISO-8859-1', 'UTF-16LE', $args));
133
shell_exec("start /B powershell.exe -encodedCommand $cmd > nul 2>&1");
134
135
return true;
0 commit comments