[wp-trac] [WordPress Trac] #8278: use UTF-8-aware excerpt in feed
widgets
WordPress Trac
wp-trac at lists.automattic.com
Wed Nov 19 10:30:41 GMT 2008
#8278: use UTF-8-aware excerpt in feed widgets
------------------------+---------------------------------------------------
Reporter: nbachiyski | Owner: nbachiyski
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: i18n | Version:
Severity: normal | Keywords:
------------------------+---------------------------------------------------
When showing excertps the feed widgets calls {{{substr()}}} directly,
which works on byte level and not on character level. Thus UTF-8
characters are split into two and shown as diamonds in browsers.
We have {{{wp_html_escerpt()}}} which does the trick.
--
Ticket URL: <http://trac.wordpress.org/ticket/8278>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list