CFEclipse - weird snip problem

Ok - once again I have decided to try and make the switch over to CFEclipse as my main coding editor, but it's not making it easy. I'll try and be tough and fight trough whatever obstacle I meet (at least until a certain level). I will however need to ask for some advice/assistance now and then, so here goes question number one:

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:

<!--- @@displayname: idlHeader --->
<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# &omicron; #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.

Comments
Trond,


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
# Posted By Dan Wilson | 12/16/06 11:23 AM
In the "About Eclipse SDK Plug-ins" window CFML Plug-in is version 1.2. Maybe I should try to upgrade to 1.3 to see if that fixes it for me :)
# Posted By Trond Ulseth | 12/18/06 5:39 AM