Dear ring community,
In exploring the fun with ring, I made an app as above. You can find the
source here.
The first version is in mdcnv_linux.ring. Later I found issues when path or filename has unicode characters on Windows, so I used powershell script to bypass the issue, this is in mdcnv_ps.ring, but this version will have to create then delete temporary file. Finally I used equivalent functions from nim-lang to bypass the issue, this also allows me to test cffi in ring without much trouble, you can find it in mdcnv.ring and fileops.nim.
If it's truly a bug on Windows for ring to handle utf-8 properly in path & filename, I think it's best to patch it in ring, but I'm not familiar with the ring code base, I would rather leave that with experts.
Nonetheless, it's a joyful journey with ring and also the outstanding ring_slint extension.
Thank you all for the great creations around ring.
Best regards,
Po E.