Skip to content

add a new compiler command line switch for generating utf-8 BOM in the output#377

Merged
mhegazy merged 8 commits into
masterfrom
bom
Aug 7, 2014
Merged

add a new compiler command line switch for generating utf-8 BOM in the output#377
mhegazy merged 8 commits into
masterfrom
bom

Conversation

@mhegazy
Copy link
Copy Markdown
Contributor

@mhegazy mhegazy commented Aug 6, 2014

Previously we trafficked BOM from input to output. the only scenario where we know a BOM is necessary in the output is WWA's. This change adds a new switch (--generateBOM) that a WWA project would enable and get the same result.

Comment thread src/compiler/commandLineParser.ts Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll be honest, "emitBOM" seems more appropriate, and is shorter.

But I don't feel particularly strongly about it and we can roll with this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

like this more.. will change it

@DanielRosenwasser
Copy link
Copy Markdown
Member

👍

mhegazy added a commit that referenced this pull request Aug 7, 2014
add a new compiler command line switch for generating utf-8 BOM in the output
@mhegazy mhegazy merged commit ee6f694 into master Aug 7, 2014
@mhegazy mhegazy deleted the bom branch August 7, 2014 05:59
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants