Skip to content

Encoding between Internal.Console.Write and SystemNative_Log not aligned for iOS #78971

@kotlarmilos

Description

@kotlarmilos

Description

Internal.Console.Write calls use Interop.Sys.Log with a byte array obtained from Encoding.UTF8.GetBytes. Interop.Sys.Log uses NSUTF16LittleEndianStringEncoding that results in error string corruption.

Configuration

OS: iOS
Architecture: arm64

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions