Gossamer Forum
Quote Reply
Charset
I want to add a few "if" statements into my category template to determine what character set is needed to display the text properly. I'm not that versed in Perl, and just need to know the syntax. For example:

if [the category name begins with World/Korean]
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=EUC-KR">
end if

if [the category name begins World/Russian]
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=KOI8-R">
end if

etc......

What I wish to accomplish by this, is to add the correct meta line to every category under World/Korean, World/Russian, etc. Any help would be much appreciated...

Sean
Subject Author Views Date
Thread Charset SeanP 3209 Oct 28, 2001, 1:44 PM
Thread Re: [SeanP] Charset
Stealth 3091 Oct 28, 2001, 5:16 PM
Thread Re: [Chewbaca] Charset
SeanP 3094 Oct 28, 2001, 8:00 PM
Thread Re: [SeanP] Charset
Stealth 3093 Oct 29, 2001, 7:13 AM
Post Re: [Chewbaca] Charset
SeanP 3092 Oct 29, 2001, 10:09 AM
Thread Re: [SeanP] Charset
Alex 3057 Oct 29, 2001, 1:50 PM
Thread Re: [Alex] Charset
SeanP 3078 Oct 30, 2001, 9:44 AM
Thread Re: [SeanP] Charset
Paul 3059 Oct 30, 2001, 10:52 AM
Post Re: [RedRum] Charset
SeanP 3057 Oct 30, 2001, 11:24 AM