Gossamer Forum
Home : Products : Gossamer Links : Discussions :

strange characters with charset=ISO-8859-1

Quote Reply
strange characters with charset=ISO-8859-1
My luna templates has this meta tag:

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />

Characters like single quotation are displaying like ‘robots.’.

It should be 'robots.'

I searched the forums. But couldn't find any answer.

thank you!
Quote Reply
Re: [hegu] strange characters with charset=ISO-8859-1 In reply to
Are you sure you're actually using a single quote? There is another charachter that looks *very* similar, but its not actually a valid HTML charachter, and thus causes a few issues. I've had this before (can't replicate it though, as I don't actually have the charachter on my keyboard =))

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [hegu] strange characters with charset=ISO-8859-1 In reply to
Hi,

The cause could be the 'defaule_charset' = utf8 in apache conf. You can follow this thread to change that to iso.

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [tandat] strange characters with charset=ISO-8859-1 In reply to
So I have to add these two lines in my .htaccess?

Options +MultiViews
AddType text/html;charset=iso-8859-1 .html .htm

I use .shtml pages. So I need to add that extention too? Like this:

Options +MultiViews
AddType text/html;charset=iso-8859-1 .html .htm .shtml

====================

My Linkssql directory pages are set to charset=iso-8859-1 as a default in Luna templates. So if I add above two lines to y htaccess, will it affect anything?
Quote Reply
Re: [hegu] strange characters with charset=ISO-8859-1 In reply to
Yes, just try that.

Cheers,

Dat

Programming and creating plugins and templates
Blog