On Tue, May 11, 2010 at 7:13 AM, lulalala <[email protected]> wrote:
> There is a small bug on displaying page title in other languages.
> For example, if a page has a Chinese title, than on the page itself
> the title will be displayed in escaped form like %e6%b8%ac%e8%a9%a6.
> It displayed fine in other places (brower titlebar/ search listing
> etc).
>
> But thanks for the hard work!
Sorry for the delay in fixing this. I've been doing a lot of traveling
and quite busy with other projects. I'll try to get out an updated
release today or tomorrow. But here's the fix for this. Change lines
2312-2313 in engine.php from
$BOLTvar[$page]['title'] = $BOLTvar[$page]['page'];
if (BOLTutf2url($BOLTvar[$page]['title']) ==
$BOLTvar[$page]['title']) $BOLTvar[$page]['title'] =
ucwords($BOLTvar[$page]['title']);
to
if (BOLTurl2utf($BOLTvar[$page]['page']) !=
$BOLTvar[$page]['page'])
$BOLTvar[$page]['title'] = BOLTurl2utf($BOLTvar[$page]['page']);
else $BOLTvar[$page]['title'] =
ucwords($BOLTvar[$page]['page']);
Be sure to watch out for the line breaks in thisThis is the best place
to repair this bug, as it gets the title set properly at the very
first step.
Cheers,
Dan
--
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en.