Hi Cris,
In the fact, here it doesn´t matter when we press F1 before F9, this doesn´t change exibitions of accents, as you could see first screen and second screen (in yellow).
Please, let me ask you something important: at this attached image, in both red circles made, do you see french acents when you are running STRU in your computer or visualization it is like my image attached ? (please confirm)
I believe that you are visualizing in correct way in french (not these strange caracters, like in image) then I suppose that
Hb_AnsiToOem() could it be interfering when is french language because HMG/Minigui seems not applying
HB_CDPSELECT() by SET LANGUAGE when is translated internally. Then, for french, probably doesn´t needs to use
Hb_AnsiToOem(). But I need your confirmation if you are seeing correctly (in both circles) in your screen when are running STRU in console mode. Please confirm that.

- écran1.PNG (22.56 KiB) Viewed 4309 times
If you confirm that, then I will make a way for exception use in french and any other languages which is not using codepage function.
chrisjx2002 wrote:The first time I use F1 it works : first screenshot. Everythink is OK even the accents
After I use F9 : I have no more accent : second screenshot
After I use F1 and I have no more accent and the yyyyy : third screenshot
I have another question (please let me know): You obtained these results, was when you ran STRU which version please ? (you can see STRU version when you mouse click in "A propos" in GUI mode).