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

Drop encoding = "UTF-8" for JSON in all places #220

Merged
merged 6 commits into from
Sep 15, 2024
Merged

Conversation

florisvdh
Copy link
Member

It appears that processx::run() supports UTF-8 characters in all system locales (see PR #219). Also, it was observed that {qgisprocess} doesn't work successfully in non-UTF-8 locales (#218). Relaxing the UTF-8 requirement in some qgis_run() statements (those that set the encoding argument) appears to circumvent this (see #218 and PR #219), even while JSON is UTF-8 by definition.

This PR amends PR #219.

We'll see whether this would pose new problems; as of now none have been found (tests done locally in Linux Mint & Windows).

@florisvdh
Copy link
Member Author

@jannes-m any comments about this extension?

@jannes-m
Copy link
Collaborator

@florisvdh, I am sorry for being so unresponsive the last week. I'll have a look this evening!

Copy link
Collaborator

@jannes-m jannes-m left a comment

Choose a reason for hiding this comment

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

This looks good to me, thank you so much and sorry again for the delay!

@jannes-m
Copy link
Collaborator

I'll merge this into my PR and if you are happy you can merge it into main -:)

@jannes-m jannes-m merged commit e8f3efc into bug_locale Sep 15, 2024
16 checks passed
@jannes-m jannes-m deleted the dont_set_locale branch September 15, 2024 16:40
@florisvdh
Copy link
Member Author

No problem of course. Thanks for the review.

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.

2 participants