Skip to content

Commit

Permalink
fix: enable encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
AliKdhim87 committed Aug 1, 2023
1 parent c51b162 commit 366bcc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/samenwerkende-catalogi/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ type SamenWerkendeCatalogiDataType = {

export const convertJsonToXML = (data: SamenWerkendeCatalogiDataType[], frontend_url: string) => {
if (data && data.length > 0) {
const root = create({ version: '1.0' })
const root = create({ version: '1.0', encoding: 'utf-8' })
.ele('overheidproduct:scproducten')
.att({
...xmlnsPrefixMap,
Expand Down

0 comments on commit 366bcc8

Please sign in to comment.