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.
2 parents e3b8ead + 40d13e6 commit 81eaa42Copy full SHA for 81eaa42
internal/classes/DBOpsHelper.class.ps1
@@ -137,12 +137,12 @@ class DBOpsHelper {
137
$encoding = [System.Text.Encoding]::UTF7
138
}
139
else {
140
- $encoding = [System.Text.Encoding]::ASCII
+ $encoding = [System.Text.Encoding]::UTF8
141
142
return $encoding.GetString($Array, $skipBytes, $Array.Length - $skipBytes)
143
144
# scrubs nulls from the datatable
145
- static [PSObject] DataRowToPSObject([DataRow] $row){
+ static [PSObject] DataRowToPSObject([DataRow] $row) {
146
$psObject = [PSObject]::new()
147
if ($null -ne $row -and $row.RowState -and $row.RowState -ne [DataRowState]::Detached) {
148
foreach ($column in $row.Table.Columns) {
0 commit comments