Skip to content

Commit

Permalink
Fix typos. (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis authored Oct 10, 2023
1 parent e9778f1 commit 7ca45f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/TileDB.CSharp/CoreUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public static (byte[] data, ulong[] offsets) PackStringArray(string[] strarray,
}
else
{
bytes_size = Encoding.ASCII.GetByteCount(strarray[i]);
bytes_size = Encoding.UTF8.GetByteCount(strarray[i]);
}
totsize += bytes_size;
}
Expand Down Expand Up @@ -140,7 +140,7 @@ public static (byte[] data, ulong[] offsets) PackStringArray(string[] strarray,
}
else
{
bytes = Encoding.ASCII.GetBytes(strarray[i]);
bytes = Encoding.UTF8.GetBytes(strarray[i]);
}
bytes.CopyTo(data, idx);
idx += bytes.Length;
Expand Down

0 comments on commit 7ca45f8

Please sign in to comment.