pwiginton
asked on
ÌÌÌÌÌÌÌÌÌÌ characters in string C programming
I am maintaining some old C programs using BTrieve databases. When I move the contents of a database field into a string, it is padded with ÌÌÌÌÌÌÌÌÌÌ characters at the end of the string. What are these and how can I get rid of them. I am moving the 50 character database field to a string array of 51 characters using the strncpy command.
strncpy(strLongName, MhfsHdr.LongName, 50);
trim(strLongName);
strcpy(CompanyName, strLongName);
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.