Changeset 995
- Timestamp:
- 04/16/02 16:27:56 (11 years ago)
- Files:
-
- 1 modified
-
trunk/htdocs/view/index.bml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htdocs/view/index.bml
r857 r995 140 140 $body .= "<dd><table cellpadding=2>"; 141 141 } 142 143 # we need to convert the subject to UTF-8 if it's a pre-Unicode entry 144 # loading all the props for all the posts and checking 'unknown8bit' 145 # is too long. The heuristic "if it's not UTF-8, convert it" works 146 # well here. 147 if ($LJ::UNICODE && !LJ::is_utf8($subject)) { 148 my $error; 149 my $subj = LJ::text_convert($dbs, $subject, $u, \$error); 150 $subject = $subj unless $error; 151 LJ::text_out(\$subject); 152 } 153 142 154 unless ($subject ne "") { $subject = "(no subject)"; } 143 155 my $h = substr($eventtime, 11, 2);
