We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 29093e5 + 19538c5 commit 2bfe84fCopy full SHA for 2bfe84f
lib/secretariat/invoice.rb
@@ -167,7 +167,7 @@ def to_xml(version: 1, validate: true)
167
raise ValidationError.new("Invoice is invalid", errors)
168
end
169
170
- builder = Nokogiri::XML::Builder.new do |xml|
+ builder = Nokogiri::XML::Builder.new(encoding: "UTF-8") do |xml|
171
172
root = by_version(version, 'CrossIndustryDocument', 'CrossIndustryInvoice')
173
0 commit comments