<#469 fix(#468): Allow non-ASCII chars on most use...
# pact-net
g
#469 fix(#468): Allow non-ASCII chars on most user input Pull request opened by adamrodger Instead of trying to marshal strings, which don't marshal nicely over the FFI boundary because C# uses UTF-16 but Rust wants UTF-8, instead explicitly convert strings to a UTF-8
byte[]
and marshal those. Some places don't need to allow non-ASCII, such as the scheme in URLs, whereas others are very tricky, such as consumer filters. This would change the API to
byte[][]
and those can't be marshalled, so some parts still support non-ASCII for now. If that's a problem in the future then some custom marshalling could be implemented, but currently that seems overkill. Closes #468 pact-foundation/pact-net GitHub Actions: release GitHub Actions: release GitHub Actions: Build and Test (dotnet) (macos-latest) GitHub Actions: Build and Test (dotnet) (ubuntu-latest) GitHub Actions: Build and Test (dotnet) (windows-latest) GitHub Actions: Build and Test (dotnet) (macos-latest) GitHub Actions: Build and Test (dotnet) (ubuntu-latest) GitHub Actions: Build and Test (dotnet) (windows-latest) 1 other check has passed 1/9 successful checks