pdeffebach / FloatingTableView.jl

Easy table viewing in a pop-up window in Julia
MIT License
42 stars 3 forks source link

Filter out non printable characters for string elements #28

Open michaelwolf72 opened 2 years ago

michaelwolf72 commented 2 years ago

Came across on error where the Floating Table GUI would not completely open when characters such as ...

'\xd1': Malformed UTF-8 (category Ma: Malformed, bad data)

are found within a string element of the table. As a work around I converted these characters to spaces.

pdeffebach commented 2 years ago

Thanks for the issue report.

Can you confirm if this works in the VS Code table viewer? FloatingTableView.jl is just a thin wrapper for TableView.jl. So it's worth figuring out if this is a Blink.jl issue or a TableView.jl issue. My guess is that this is a limitation of the underlying library used by TableView.jl and there isn't much we can do.

I don't think filtering out non-printable characters is a good idea. I don't want to get involved in messing with someone's data as they print it.