camelot-dev / camelot-dev/excalibur

'ascii' codec can't encode character

Open
#53 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.8k
Forks
238
PR merge metrics
No merged PRs in 30d

Description

I tried to convert some tables in Polish govt doc, containing polish accented characters.
This failed with error: `UnicodeEncodeError: 'ascii' codec can't encode character u'\u015a' in position 346: ordinal not in range(128)`
The character in question is `ś`, but there are way more such characters in that file.

If I need something reconfigured to be able to parse such chars, I believe it shouldn't raise an error, but rather suggest change :)

I can share the file if needed :)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the conversion with a PDF table containing Polish characters such as ś; the issue does not name a source file or test. Done means the table can be converted without the reported UnicodeEncodeError, or the application clearly suggests the required configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.