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

Provider: Zipfile does not encode zipped names/paths in UTF8 #93

Open
kvold opened this issue Mar 29, 2019 · 3 comments
Open

Provider: Zipfile does not encode zipped names/paths in UTF8 #93

kvold opened this issue Mar 29, 2019 · 3 comments

Comments

@kvold
Copy link
Contributor

kvold commented Mar 29, 2019

When zipping the folder with the transactions the zipped names/paths containing non-ascii characters are not correctly encoded in UTF8.

This causes the syncing to fail when syncing using the CORESubscriber, and presumably also when syncing using a non-western Windows-installation:

Could not find a part of the path '/data/temp/T50Høydekurve_Fylke_;cc79688c-aec0-4a9a-94fd-44271983e771S0P1542333240760000Fg/T50H%EF%BF%BDydekurve_Fylke_;cc79688c-aec0-4a9a-94fd-44271983e771S0P1542333240760000Fg/1587_T50H%EF%BF%BDydekurve_Fylke_;cc79688c-aec0-4a9a-94fd-44271983e771S0P1542333240760000Fg.xml'.

Name of zipfile:
"T50Høydekurve_Fylke_;cc79688c-aec0-4a9a-94fd-44271983e771S0P1542333240760000Fg.zip"

Name of zipped folder in zipfile (in windows):
"T50H°ydekurve_Fylke_;cc79688c-aec0-4a9a-94fd-44271983e771S0P1542333240760000Fg"

Name of extracted folder in Linux:
"T50H%EF%BF%BDydekurve_Fylke_;cc79688c-aec0-4a9a-94fd-44271983e771S0P1542333240760000Fg"

@jarped
Copy link
Collaborator

jarped commented May 28, 2020

Sounds like an issue with the QMS-provider. Closing.

@jarped jarped closed this as completed May 28, 2020
@jarped
Copy link
Collaborator

jarped commented Feb 8, 2021

This has resurfaced. Opening again.

@jarped jarped reopened this Feb 8, 2021
@larseggan
Copy link
Collaborator

This issue has been fixed, and committed yesterday.

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

No branches or pull requests

3 participants