Page title meta tag encoding issue
This MAY be considered a bug, but it's actually a simple encoding issue I've discovered and thought I'd share.
Config: Wordpress 2.8.2 Atahualpa 3.4.1 with "Use bytes for all SEO options?"-enabled "Meta Title Tag format" = `Page Title` Symptoms: If any of the strings that would become part of page title meta tag (post name, category name, search name etc.) contains non-ASCII chars, the output is messed up like so: Code:
'ţeavă' becomes 'Å£eavÄ�' Solution: In bfa_meta_tags.php, the htmlentities() call on lines 75 and 83 needs a the third parameter specified as 'UTF-8': Code:
$bfa_ata_page_title = htmlentities(single_cat_title('', false),ENT_QUOTES, 'UTF-8'); Hope this helps those using the theme in languages using funny chars. Perhaps it would be a good idea to fix this directly in the official release. |
All times are GMT -6. The time now is 05:39 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.