Skip to content

[upstream candidate] Fix cp1252 DUKES failures-cache read - #3

Open
mark-hammond wants to merge 1 commit into
masterfrom
fix/dukes-cp1252-encoding
Open

[upstream candidate] Fix cp1252 DUKES failures-cache read#3
mark-hammond wants to merge 1 commit into
masterfrom
fix/dukes-cp1252-encoding

Conversation

@mark-hammond

Copy link
Copy Markdown

Staging PR on our fork (not yet sent to andrewlyden). The geocoding failures cache is cp1252-encoded (Windows origin); the default UTF-8 reader crashes a fresh macOS/Linux clone. Read as cp1252 with errors='ignore'.

data/generators/nominatim_cache_failures.txt is cp1252-encoded (Windows origin), so the
default UTF-8 open() raises UnicodeDecodeError on a fresh macOS/Linux clone. Read it as
cp1252 with errors='ignore'.
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.

1 participant