11-25-2021 02:16 PM
Bonjour à tous.
J'aimerais savoir pourquoi dans un nouveau projet labwindows, si je lis un fichier pour remplir un ringBox, les accents ne sont pas affichés correctement. Le même code dans un autre projet, je n'ai pas ce problème.
Merci
11-26-2021 03:30 AM - edited 11-26-2021 03:30 AM
So you are saying that:
gives different results?
That's weird! I would double check the code the see if it's exactly the same or not.
If on different CVI releases: which one is working and which one is not?
11-26-2021 10:39 AM
I did double check and yes, same code.
When i'm in debug mode, I can see that the reading of the file is good.
When it's time to write it to the interface, then I have weird characters.
I'm gexpecting example : école
I see :
12-02-2021 09:46 AM
Here is a picture in debug
mode
12-02-2021 09:52 AM
Found my problem.
My ini file that I was loading was in UTF-8 and was causing me the problem.
I encode the file in ANSI and no more problems with symbols.