![](https://secure.gravatar.com/avatar/9e2504e0b74e5384af09ce8a660afac4.jpg?s=120&d=mm&r=g)
11 Apr
2014
11 Apr
'14
11:03 a.m.
Paul Tarvydas <paultarvydas@gmail.com> writes:
I'm using sbcl to write-char a 16-bit unsigned integer to a socket as two separate unsigned 8-bit bytes, for example 141 should appear as
#x00 #x8d.
SBCL appears to convert the #x8d into a two-byte utf-8 char, resulting in 3 bytes written to the stream
\#x00 #xcd #x8d.
What is the proper incantation to achieve this? (SBCL on Windows, if that matters).
http://www.cliki.net/CloserLookAtCharacters -- __Pascal Bourguignon__ http://www.informatimago.com/ "Le mercure monte ? C'est le moment d'acheter !"