code: func is_printable(b []byte, i int) bool {
  	return ((b[i] == 0x0A) || // . == #x0A
  		(b[i] >= 0x20 && b[i] <= 0x7E) || // #x20 <= . <= #x7E
  		(b[i] == 0xC2 && b[i+1] >= 0xA0) || // #0xA0 <= . <= #xD7FF
  		(b[i] > 0xC2 && b[i] < 0xED) ||
  		(b[i] == 0xED && b[i+1] < 0xA0) ||
  		(b[i] == 0xEE) ||
  		(b[i] == 0xEF && // #xE000 <= . <= #xFFFD
  			!(b[i+1] == 0xBB && b[i+2] == 0xBF) && // && . != #xFEFF
  			!(b[i+1] == 0xBF && (b[i+2] == 0xBE || b[i+2] == 0xBF))))
  }
docs: // Check if the character at the start of the buffer can be printed unescaped.