03-10-2020 12:39 AM
Hello. My name is KB from South Korea.
I have a problem about customer's source code from French.
I've faced the messages that "The file contains characters that are invalid th the current charset/encoding and were replaced with '?'. The first invalid character is located at line xx, column xx. The file has been set to read-only. Opening the file with a different charset/encoding might fix the problem. " when I open the source code.
I've used Labwindows CVI 19 and Windows 10 64bit. I aleady installed language pack for French.
But it couldn't solve the problem.
How can I do?
Thanks.
Regards
KB
Solved! Go to Solution.
03-10-2020 05:20 AM
Try changing the Character set for source code editor from Options->Font->Source Window Font and edit it to change the Character set to Western, I would say.
03-10-2020 06:36 AM
What the other poster said, otherwise you can convert the text using a command line such as:
iconv -c -f UTF-8 -t "ASCII//TRANSLIT" file.c
03-11-2020 01:46 AM
Dear Razvan
Thanks a lot.
It has solved. Thank you very much. Your are correct.
Regard
KB
03-11-2020 01:52 AM
Dear gddargaud
Hello.
This problem has solved. thanks. But I would like to know how to this syntax "iconv -c -f UTF-8 -t "ASCII//TRANSLIT" file.c".
Could you tell me ?
Regards
KB