Support Forums

Updated Meta Content-Type

This is a discussion on Updated Meta Content-Type within the Modules / Plugins / Modifications forums, part of the Developer Forums category; We ran into a problem with the default meta content-type (UTF-8) defined in both the website and administration layout templates. ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-27-2008, 01:02 PM   #1
Jon
Junior Member
 
Join Date: May 2008
Posts: 23
Rep Power: 11
Jon is on a distinguished road
Default Updated Meta Content-Type

We ran into a problem with the default meta content-type (UTF-8) defined in both the website and administration layout templates. It doesn't display smart text (66/99/trademark symbols etc) natively - which is expected. Instead it displays some random escape characters in their place.

We fixed this by updating the content-type to the Western European ISO 8859-1, which works well with all kinds of smart text typically dropped into a listing from Word, for example.

Here is the updated definition, to replace the UTF-8 declaration in the website and administration layout.tpl:

Code:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
Hope this helps
__________________
Version 4.0.9 Developer
Jon is offline   Reply With Quote

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0