8000 Fix #625: xml output encoding don't match writer setting by lhyqy5 · Pull Request #634 · reactiveui/refit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix #625: xml output encoding don't match writer setting #634

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

Merged

Conversation

lhyqy5
Copy link
Contributor
@lhyqy5 lhyqy5 commented Mar 9, 2019

fix #625

@dnfclas
Copy link
dnfclas commented Mar 9, 2019

CLA assistant check
All CLA requirements met.

{
var encoding = settings.XmlReaderWriterSettings.WriterSettings?.Encoding ?? Encoding.Unicode;
Copy link
Member

Choose a reason for hiding this comment

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

What should the default be? Unicode or UTF8? Any reason for Unicode over UTF8 as the default?

Copy link
Contributor Author
@lhyqy5 lhyqy5 Mar 9, 2019

Choose a reason for hiding this comment

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

StringWriter default encoding is Unicode, so I keep it, and utf-16 is the previous behavior

@clairernovotny clairernovotny merged commit 4c8febe into reactiveui:master Mar 12, 2019
@lock lock bot locked and limited conversation to collaborators Jun 24, 2019
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.

xml output encoding dose not follow XmlWriterSettings encoding setting
3 participants
0