SkiaSharp icon indicating copy to clipboard operation
SkiaSharp copied to clipboard

If the application path contains "Unicode characters" (for instance: ő) the SkiaSharp.dll cannot load native libSkiaSharp.dll.

Open BadaPZ opened this issue 1 month ago • 1 comments

Description

If the application path contains Unicode characters (ő) the SkiaSharp.dll cannot load native libSkiaSharp.dll.

The app is .NET fx 4.7.2 x64. NuGet version 2.88.8

Code

Just put a character like ő somewhere into the path and start the application

Expected Behavior

It should handle the library paths as Unicode strings, like CreateFileW does

Actual Behavior

Exception thrown

Version of SkiaSharp

2.88.3 (Current)

Last Known Good Version of SkiaSharp

Other (Please indicate in the description)

IDE / Editor

Visual Studio (Windows)

Platform / Operating System

Windows

Platform / Operating System Version

Win11 23H2 x64

Devices

PC

Relevant Screenshots

image image

Relevant Log Output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

BadaPZ avatar May 27 '24 11:05 BadaPZ