LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

afficher les accents

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

0 Kudos
Message 1 of 5
(2,148 Views)

So you are saying that:

  • Reading the same file
  • On the same machine
  • With different applications developed with the same version of CVI

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?



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 5
(2,121 Views)

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 :

Goncalo_0-1637944749891.png

 

0 Kudos
Message 3 of 5
(2,099 Views)

Here is a picture in debug

2021_12_02_10_43_48_c_developpement_labwindows_projets_micman_micman.cws_micman.c_.png

mode

 

 

0 Kudos
Message 4 of 5
(2,050 Views)

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.

0 Kudos
Message 5 of 5
(2,048 Views)