Without seeing the code I'm not sure but it sounds like you are using the substitute modifier. Here's how it's used in welcome.tpl to replace {{company}} in the language variable with the store's company name:
PHP Code:
<h1>{$lng.lbl_welcome_to|substitute:"company":$config.Company.company_name|amp}</h1>
Maybe you replaced {{company}} in the language variable with {{Carnival}} which would cause this problem.