Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set output encoding to UTF8 #640

Merged
merged 1 commit into from Oct 9, 2017
Merged

Set output encoding to UTF8 #640

merged 1 commit into from Oct 9, 2017

Conversation

prafullbhosale
Copy link
Contributor

Fixes #635

cc @mlorbetske

@prafullbhosale
Copy link
Contributor Author

Rebased from rel/2.0.1 and removed the change for test projects as that's already made in rel/2.0.1.
Will merge this if the CI build is green.

@prafullbhosale prafullbhosale merged commit 2f75492 into rel/2.0.1 Oct 9, 2017
@prafullbhosale prafullbhosale deleted the pb/635 branch October 9, 2017 20:14
@nbarnwell
Copy link

nbarnwell commented Jan 5, 2019

I've just used the following command to re-codegen some RazorPages and noticed they were marked as modified in the solution explorer (I wasn't expecting to see a change). When I looked, the contents matched, but I got the following warning from Visual Studio: "These files have different encodings. Left file: Unicode (UTF-8) with signature. Right file: Western European (Windows). You can resolve the difference by saving the right file with the encoding Unicode (UTF-8) with signature.". Is this related to this issue?

My codegenerator command:
dotnet aspnet-codegenerator razorpage -p Coin.Web -m Budget -dc CoinContext -udl -outDir Areas\Accounting\Pages\Budgets --referenceScriptLibraries --force --no-build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants