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

Add UTF-8 encoding to the DomDocument #715

Merged
merged 1 commit into from
Sep 12, 2022
Merged

Add UTF-8 encoding to the DomDocument #715

merged 1 commit into from
Sep 12, 2022

Conversation

douglasmiller
Copy link
Contributor

Allows the use of UTF-8 characters

Comment on lines +108 to +110
$doc = new DOMDocument($version);
$doc->encoding = 'utf-8';
return $doc;

Choose a reason for hiding this comment

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

Seems like we could use this method in all the above files that are creating DOMDocuments? That was the idea of having this thing be a static class, after all. 👍

@Smolations Smolations merged commit 1ef23ab into v2 Sep 12, 2022
@Smolations Smolations deleted the utf-8-encoding branch September 12, 2022 17:35
recurly-integrations pushed a commit that referenced this pull request Sep 12, 2022
[Full Changelog](2.12.28...2.12.29)

**Merged Pull Requests**

- Add UTF-8 encoding to the DomDocument [#715](#715) ([douglasmiller](https://github.com/douglasmiller))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug V2 V2 Client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants