joshy / striprtf

Stripping rtf to plain old text
http://striprtf.dev
BSD 3-Clause "New" or "Revised" License
94 stars 27 forks source link

New update error #41

Closed egleidson closed 1 year ago

egleidson commented 1 year ago

Hi! cheers from Brazil.

I currently use this lib at my job, which consists of medical reports and the with the new update I was getting this error: 'utf-8' codec can't decode byte 0xa0 in position 0: invalid start byte

And even if I used the option encoding=" " , the error still persists.

So in order to not break the pipeline here I had to switch to the older version.

But I'm really grateful for this project couldn't do what I do without.

stevengj commented 1 year ago

That was the problem I commented on here: https://github.com/joshy/striprtf/pull/40#discussion_r1191094018

It's being fixed in #42

(It would be good to add a test for this, similar to https://github.com/JuliaStrings/StripRTF.jl/pull/6.)

joshy commented 1 year ago

Should be fixed with version v0.0.24