• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cffile utf-8 BOM attribute

Community Beginner ,
Oct 03, 2006 Oct 03, 2006

Copy link to clipboard

Copied

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
TOPICS
Advanced techniques

Views

992

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Oct 03, 2006 Oct 03, 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

Votes

Translate

Translate
LEGEND ,
Oct 03, 2006 Oct 03, 2006

Copy link to clipboard

Copied

> 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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 03, 2006 Oct 03, 2006

Copy link to clipboard

Copied

LATEST
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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation