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
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