• Resolved tronhammer

    (@tronhammer)


    Hey guys,

    Some of our titles contain the trademark “®” symbol, which seems to not be getting converted correctly when used in the “%htitle%”. To fix this error, changed the line 215 in “class.bcn_breadcrumb.php”

    from:
    '%htitle%' => $this->title,

    to:
    '%htitle%' => mb_convert_encoding($this->title, "HTML-ENTITIES", "UTF-8"),

    https://ww.wp.xz.cn/plugins/breadcrumb-navxt/

Viewing 1 replies (of 1 total)
  • Plugin Author John Havlik

    (@mtekk)

    I’m not sure this is an error on Breadcrumb NavXT’s part. On my testbed, the ® glyph passes through just fine (on a UTF-8 system, passes same glyph through as the_title() does). If you really want the HTML equivalent (®), I recommend using that in your titles. Lastly, if you want to filter the title to automatically replace it, use the bcn_breadcrumb_title filter.

Viewing 1 replies (of 1 total)

The topic ‘Non UTF8 in page title causing parsing errors’ is closed to new replies.