When I quit my last gig in 2019 I was still running one of windowses as a virtual. Then I stopped and just didn't fire up the virtual W7 anymore. What VFP apps I still maintained for my own pleasure were run under wine. I did have some codepage trouble back then, but didn't quite write down how I solved them, foolishly thinking that they'll stay solved.
Not so. Few days ago, as I upgraded something on my Mint 21 Cinnamon, the windows apps started crashing on each use of clipboard. I discovered that my wine was version six, ah so it is way obsolete, okay, update. I got wine 8.0 (stable) and now when I type šđžčć i get šdžcc. Ditto for clipboard content coming from a linux app. Internally, clipboard does carry all letters. It can also display them all, though all the controls have reverted to showing the content as 1252, including form captions and _screen.caption.
Imagine if something deleted each h in english, whenever it's not preceded by a vowel. Unusable.
I finally found where in the registry the setting goes - in [System\\CurrentControlSet\\Control\\Nls\\Codepage]
It should be
"ACP"="1250"
"MACCP"="10000"
"OEMCP"="852"
and I did put them there, only to discover that these get overwritten with 1252 and 437 every time. So they finally fixed it.
Now if anyone knows a working combination which will allow me to use wine in my language, I'd be thankful and you have a liter of good authentic fruit brandy of your choice (and whatever you drink while choosing, here on the spot). If there's no solution, I'll rewrite the stuff in python/dabo and generally forget about Fox. Because other codepages are forever an afterthought, they get solved the last and get removed in next version the first.