Menu

#1 add content type parameter

open
nobody
None
5
2003-08-05
2003-08-05
No

This should fix some of the weird character issues.

Index: index.cfm

RCS file: /cvsroot/fbopenforums/forum/index.cfm,v
retrieving revision 1.2
diff -u -r1.2 index.cfm
--- index.cfm 29 Nov 2002 21:03:25 -0000 1.2
+++ index.cfm 5 Aug 2003 17:12:02 -0000
@@ -1 +1,13 @@
+<cfprocessingdirective suppresswhitespace="yes">

+<cfsetting enablecfoutputonly="yes" showdebugoutput="no">

+ <!--- Make ColdFusion serve the right Media type
to include the

+ character set. This should help avoid the
issues where somebody

+ uploads text with extended characters and they
are output

+ garbled. Note: This must be commented out if
you have debug

+ mode on. For some reason debug mode and this
do not cooperate.

+ --->

+ <cfcontent type="text/html; charset=UTF-8">

+<cfsetting enablecfoutputonly="no">

+

<cfinclude template="fbx_fusebox30_CF50.cfm">

+</cfprocessingdirective>
\ No newline at end of file

***** CVS exited normally with code 1 *****

Additional note: If we are hardcoding to use the
Fusebox for ColdFusion 5.0 on Windows, why not just
replace index.cfm with that file and remove the others.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.