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

Issue #53: Allow to specify :enconding as a #parse option, when Happy… #202

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

amseledka
Copy link

…Mapper is included within a class

Fixes #53 when HappyMapper is included in a class

Allows to specify the encoding to a #parse as an option, to explicitly set the encoding to Nokogiri::XML document

example:

 Address.parse(xml, single:true, encoding: 'UTF-8')

@mvz mvz self-requested a review March 21, 2022 12:17
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.

Is there a way to specify which encoding to use when mapping?
1 participant