08-18-2014 05:21 AM
Hi,
i converted this trame "444C4D535F436F6D6D616E6420313520C101C10046000060030AFF040016000A" to ASCII but i can't
found the right conversion in which i must found a special caracter like Â,Â,¬,...
What is the best way to convert a hex to ascii?
Thx for your help.
08-18-2014 05:43 AM
ASCII encodes 128 well-defined characters in 7 bit integers, see here, the Angstrom symbol and many other symbols do not belong to this code...
Also, this is a forum about CVI, not about learning coding in C, so you should add some question specific to CVI
Searching for strtol may be rewarding...
08-18-2014 08:03 AM
I have written a CVI app., which i convert this trame from hexa to ascii but only the special characters dont displayed on the terminal. So i want to khnow if the conversion of some special characters is possible or no!
Thx
08-20-2014 08:59 AM
If your frame encodes ASCII, then it cannot contain angstrom and other symbols. You might want to read about the complex subject of encoding. Start with "man iconv"