RaafatTurki / hex.nvim

hex editing done right
MIT License
212 stars 8 forks source link

Handling unicode text files #23

Open jdm3 opened 1 month ago

jdm3 commented 1 month ago

Unicode text files are detected as binary and originally opened in hex mode. Ideally, they should not be treated as binary by default IMO.

From there, executing :HexToggle initially leads to an empty buffer.

Reloading with :e! shows the text again, but with an empty fileencoding so the text is not rendered correctly.

I can't find a way to show unicode text without disabling this extension.