I've got an error.php template that's the regular correctly-working index.php but with all nonessentials stripped (no nav menu, for starters), just simplified, and then the essential bits from the regular error.php template inserted. So you get lines like
Code: Select all
<h2><?php echo JText::_('JERROR_AN_ERROR_HAS_OCCURRED'); ?><br />
<?php echo JText::_('JERROR_LAYOUT_PAGE_NOT_FOUND'); ?> <strong> </h2>
Now, the issue is, if I type in a nonsense URL on my page to get a 404 screen while set to an accent-heavy language, it looks correct in Firefox but has typical encoding errors in (an updated) Chrome and Safari. Switching computer I get the same (Firefox OK, Chrome and Safari bad). Recognizable errors are e.g., "à" becomes "Ã " [see e.g. http://www.i18nqa.com/debug/utf8-debug.html ].
Any idea where to look? As said, both index.php and error.php declare themselves UTF8, it's correct in Firefox, and in all browsers the normal pages show correct accents within the articles.
EDIT: temporarily adding a menu item that caused system text (login form) to be displayed, I saw correct accents in all browsers there... so it seems to be error.php's fault? (Not allowed to attach .php file.)