C concerts HEX value from emacs into the incorrect value

Posted by hatorade on Stack Overflow See other posts from Stack Overflow or by hatorade
Published on 2010-05-14T10:22:49Z Indexed on 2010/05/14 10:24 UTC
Read the original article Hit count: 198

Filed under:
|
|

in a file, i have used m-x ucs-insert to insert a hex character 9e. however, when this is read in by the C program, 9e is becoming 0x9ec2. Where is this c2 coming from and how do i get rid of it??

© Stack Overflow or respective owner

Related posts about c

    Related posts about emacs