Joseph Bugeja wrote:

> The problem occurred because the editor, Dreamweaver, was set to encode the
> file as UTF-8. There is more than one unicode normalization form and you can
> also include the Unicode signature in a file. The default settings we had
> appended the characters  (in hex/8-bit format they are ef bb bf) and this
> resulted in ColdFusion not being able to render properly the file.

you mean prepend? those bytes (if used, optional for UTF-8) have to be the 1st 
3 
bytes of the file. that set of chars is called a Byte Order Mark (BOM) & cf can 
certainly handle files that have a BOM. see the "file data" section here:

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=i18n_13.html

as i said, it's your editor but if it correctly writes a BOM to a file it won't 
cause "normal" cf files any problems (xml might be another story). try writing 
a 
cf page using notepad & save it as a utf-8 encoded file (notepad will 
automatially add a BOM for this encoding). cf should not have any problems with 
it.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312934
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to