Changeset 28

Show
Ignore:
Timestamp:
20.07.2005 22:33:48 (3 years ago)
Author:
m
Message:

Removed UTF-8 de- and encoding

Location:
trunk/File/Bittorrent
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/File/Bittorrent/Decode.php

    r24 r28  
    304304        // Move Pointer after string 
    305305        $this->_position = $pos_colon + $str_length + 1; 
    306         $return = utf8_decode($return); 
    307306        return $return; 
    308307    } 
  • trunk/File/Bittorrent/Encode.php

    r18 r28  
    9191    function encode_string($str) 
    9292    { 
    93         $str = utf8_encode($str); 
    9493        return sprintf('%s:%s', strlen($str), $str); 
    9594    }