diff --git a/RavenPowerShell.psm1 b/RavenPowerShell.psm1 index 45e078c..00f5052 100644 --- a/RavenPowerShell.psm1 +++ b/RavenPowerShell.psm1 @@ -60,7 +60,7 @@ Class RavenClient { $jsonBody = ConvertTo-Json $body -Depth 6 - Invoke-RestMethod -Uri $this.storeUri -Method Post -Body $jsonBody -ContentType 'application/json' -Headers $headers + Invoke-RestMethod -Uri $this.storeUri -Method Post -Body $jsonBody -ContentType 'application/json; charset=utf-8' -Headers $headers } [hashtable]ParsePSCallstack([System.Management.Automation.CallStackFrame[]]$callstackFrames, [hashtable[]]$frameVariables) { @@ -185,4 +185,4 @@ function New-RavenClient { } -Export-ModuleMember -Function New-RavenClient \ No newline at end of file +Export-ModuleMember -Function New-RavenClient