$theTitle=wp_title(" - ", false); if($theTitle != "") { ?> } else { ?> } ?>
by Andrew Johnstone
In: General
15 Jul 2005Yesterday I had a nightmare with some very unusual character encoding issues. This only occurred in internet explorer, however the text of the page was static, the charset for the page was:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
and also the http header for the charset was set to UTF-8. Halfway through the body of the content ie did not recognise a character skipping the next few characters and cutting off half of a strong tag. eg “etcetc…strong>” where as the source was “etcetc…</strong>”. I haven’t found the particular cause at present, however overwriting the file with a previous version overcome this problem. Will be curious to know if anyone else has come across any peculiar results such as the above.
I have been a developer for roughly 10 years and have worked with an extensive range of technologies. Whilst working for relatively small companies, I have worked with all aspects of the development life cycle, which has given me a broad and in-depth experience.