I've dropped the change that adds support for utf-8 during conversion for now. It needs more work - it should be supported in some files/directories/process/environment related functions. It would be good to switch all of the functions in one patch. There's quite a big change that this changes will introduce some regressions.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6680#note_89123