thread: Geek Humour
View Single Post
  #58  
09-03-2009, 11:39 AM
MA's Avatar
MA
DOES NOT COMPUTE
 
: Nov 2007
: shit creek
: 5,106
Blog Entries: 10
Rep Power: 27
MA  (9593)MA  (9593)MA  (9593)MA  (9593)MA  (9593)MA  (9593)MA  (9593)MA  (9593)MA  (9593)MA  (9593)MA  (9593)

:
It's hard to, considering the number of bits there doesn't divide into a whole number of bytes. There are three bits left over. But giving it a stab...

The first byte encodes U+0029, which as BM points out is a right parenthesis ")". The second byte begins with "10", which is only possible for the second, third or fourth byte of two-, three- or four-byte characters, which begin with "110", "1110" and "11110" respectively. So this is a corrupt string. Unless you're using a very strange encoding.
you lost me at 'encode'.
Reply With Quote