garbled characters in templates
Posted: Tue Nov 21, 2006 7:26 pm
This bug exists for more than 1 year, and never get fixed.
I didn't report this bug before because this bug exists in templates only, not in the main source code. Meanwhile, this bug exsits in many different themes, which might be a "huge" work for developers/contributors to fix it.
In last several months, some Chinese users asked me how to fix it, and I replied them in my guestbook. After reading Garvin's post "Serendipity 1.1 release cycle", I finally decided to report this bug.
Well, the bug is simple:
In template file "templates/..../entries.tpl", The following line generates garbled characters (for East Asian languages) on web pages:
To fix it, just change it to:
The difference between the two output is shown below:


I didn't report this bug before because this bug exists in templates only, not in the main source code. Meanwhile, this bug exsits in many different themes, which might be a "huge" work for developers/contributors to fix it.
In last several months, some Chinese users asked me how to fix it, and I replied them in my guestbook. After reading Garvin's post "Serendipity 1.1 release cycle", I finally decided to report this bug.
Well, the bug is simple:
In template file "templates/..../entries.tpl", The following line generates garbled characters (for East Asian languages) on web pages:
Code: Select all
alert('{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|@escape:htmlall}');Code: Select all
alert('{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|@escape:html}');
