C converts 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:44 UTC
Read the original article
Hit count: 152
in a file, i have used m-x ucs-insert
to insert a hex character 9e
(which in emacs shows up as \236
). 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