CFEclipse - weird snip problem
I'm trying to create a new snip. I enter idlheader as both Snippet name, Trigger text and Snippet description, and then I put in a block of code as Snippet starting block.
And somehow the block of code gets erased and the Snippet description gets changed to "Invalid byte 2 of 3-byte UTF-8 sequence."
If i change the code block with something like "hahaha" it works, but pasting in my code it gets weird on me again.
Anyone have any idea what can cause this problem?
Here's the code I try to enter:
<cfsetting enablecfoutputonly="yes">
<cfimport taglib="/farcry/farcry_core/tags/webskin" prefix="skin">
<!---
cfparam brukes for ¥ forhindre typer(eks: dmNews) som ikke har metadata til ¥ f¥
header templaten til ¥ feile, istedenfor ¥ sette de tomme kan standard keywords og
description fylles inn her
--->
<cfparam name="attributes.metadescription" default="">
<cfparam name="attributes.keywords" default="">
<cfoutput>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>#application.config.general.sitetitle# ο #attributes.pageTitle#</title>
<meta name="description" content="#attributes.metadescription#" />
<meta name="keywords" content="#attributes.metakeywords#" />
</cfoutput>
<skin:importCSS type="link">
<cfoutput>
</head>
<body>
</cfoutput>
<cfmodule
template="/farcry/#application.applicationname#/webskin/includes/_genericNav.cfm"
navID="#application.navid.home#"
id="nav"
depth="2"
bActive="true"
bIncludeHome="true">
<cfsetting enablecfoutputonly="no">
(It's a replacement for the standard dmHeader that comes with FarCry, should you wonder).
UPDATE: When I copied and pasted the code from this blog post it worked. However it failed when I tried to copy it in from a open .cfm file in Eclipse, and the same from Dreamweaver and from Notepad.


I had some strange isssues with CF Eclipse 1.3 and snippets. Such that using a snippet would cause duplicate phantom lines to appear in my code. If I saved, closed ,then reopened the file the phantom lines would be gone. I've since downgraded to Cf Eclipse 1.2 and am quite happy.
Are you, by chance, using CF Eclipse 1.3?
Dan Wilson