major - 2012-01-17

Tutos 1.8 can support chinese well. Here is a little modification to make it better.

1. Support chinese document name
file: /file/file_show.php

Header("Content-Disposition: attachment; filename=\"". iconv("UTF-8", "GB2312", $this->obj->filename) ."\"");

2. Upgrade from V1.7 to V1.8, bug history has incorrect character or mass wrong  hyperlink. Just replace getBugHistory functionm with V1.7's code.  But the Demo(www.tutos.org) is OK, I do not know why.
file: /php/bugtracking/bug.pinc

/**
     * get the history as a formatted text
     */
    function getBugHistory($showlinks) {
        global $lang,$tutos;
        $url = addSessionKey('bug_overview.php');
        $url = addUrlParameter($url,'name=');;
        $reg = Bug::get_bug_regex();
        $olddesc = '';
        $r = '';
        $this->read_bugHistory();
        $sep = '';
        foreach($this->bughist as $i) {
            $desc = trim($i->description);
            if ($showlinks == true) {
                $desc = preg_replace('#('.$reg.')#m'  ,'<a href="'.normalize_url($url).'$1">$1</a>',$desc);
                if ($desc == $olddesc) {
                    $r .= '... ';
                } else {
                    $r .= $sep;
                }
                $r .= $i->creation->getDateTime();
                if (is_object($i->creator)) {
                    $r .= '&#160;'. $i->creator->getLink();
                } else if ($i->cid != -1) {
                    $r .= '&#160;<i>'. $lang['HistoryDeleted'] ."</i>\n";
                }
                $r .= "<br />\n";
                if ($desc != $olddesc) {
                    $r .= '<pre>'. wordwrap(urlReplace($desc,0),90) ."</pre>\n";
                }
                $sep = '<hr noshade="noshade" size="1" />';
            } else {
                if ($desc == $olddesc) {
                    $r .= '... ';
                } else {
                    $r .= $sep;
                }
                $r .= $i->creation->getDateTime();
                $r .= ' '. (is_object($i->creator) ? $i->creator->getFullName():'') ."\n";
                if ($desc != $olddesc) {
                    $r .= $desc ."\n";
                }
                //$sep = '<hr noshade="noshade" size="1" />';
                $sep = "--------------------\n";
            }
            $olddesc = $desc;
        }
        return $r;
    }