255) { $bits = $bits . $LetterCodes[42]; } else { $bits = $bits . $LetterCodes[ord(substr($ov, $i, 1))]; } while (strlen($bits) > 5) { $bytes = $bytes . BitsToBytes($bits); $bits = substr($bits, 6); } } $bytes = $bytes . BitsToBytes($bits); $bytes = $bytes . substr($encodingCharSet, $encodingVersion, 1); return $bytes; } ?>