BepInEx / HarmonyX

Harmony built on top of MonoMod.RuntimeDetours with additional features
MIT License
356 stars 44 forks source link

Harmony doesn't work when path contains non-ANSI characters #108

Closed Hill-98 closed 7 months ago

Hill-98 commented 7 months ago

Upstream issue: pardeike/Harmony#431

If the assembly path contains non-ANSI characters, such as "é", Harmony will throw the following exception when applying the patch:

HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
Hill-98 commented 7 months ago

I found the duplicate issue: BepInEx/BepInEx#318