Skip to main content
October 3, 2006
Answered

cffile utf-8 BOM attribute

  • October 3, 2006
  • 2 replies
  • 1086 views
Anybody got an clue, how i can write a file with the BOM attribute.

<cffile action="WRITE" file="#MyPath#\#MyFile#" output="#Text#" charset="utf-8">

generates an utf-8 file without the Unicode-Signatur (BOM). In the docu I didn't find any attribute for BOM.

thanks pawel
This topic has been closed for replies.
Correct answer
thanks adam

that is the solution :)

for the others if they don't find the page, here the link

http://tech.badpen.com/index.cfm?mode=entry&entry=21

2 replies

Correct answer
October 3, 2006
thanks adam

that is the solution :)

for the others if they don't find the page, here the link

http://tech.badpen.com/index.cfm?mode=entry&entry=21
Inspiring
October 3, 2006
> Anybody got an clue, how i can write a file with the BOM attribute.

According to Google, yes.

Search for "cffile bom". The first match covers what you need to know.

--
Adam