Skip to content

Commit

Permalink
Fixes issue which can be caused when non-utf-8 files are uploaded
Browse files Browse the repository at this point in the history
DuckDB requires CSV to be encoded as UTF-8, additionally its a
requirement of the welsh languague toolkit.  However most of the tools
used in the Welsh Gov will output ISO-8859-2.  So this adds a bit of
code to try to do the conversation before passing to the backend.
  • Loading branch information
j-maynard committed Dec 19, 2024
1 parent 4527afa commit 5fd939e
Show file tree
Hide file tree
Showing 4 changed files with 2,727 additions and 150 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Dockerfile

FROM node:20
RUN apt update && apt install build-essential

WORKDIR /app

Expand Down
Loading

0 comments on commit 5fd939e

Please sign in to comment.