Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output trashes UTF-8 #34

Open
zzzi2p opened this issue May 28, 2024 · 2 comments
Open

Output trashes UTF-8 #34

zzzi2p opened this issue May 28, 2024 · 2 comments

Comments

@zzzi2p
Copy link

zzzi2p commented May 28, 2024

22 year old bug

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=135867
https://bugs.launchpad.net/ubuntu/+source/xxdiff/+bug/2031254

@blais
Copy link
Owner

blais commented May 29, 2024

Time flies when you're having fun

@domo141
Copy link

domo141 commented Feb 5, 2025

I recall this happened with some (packaged) builds of xxdiff 4.x (with qt4).

I thought it got fixed -(and maybe some packaged build did get fixed - I recall not having this problem in later xxdiff versions, but I just compiled HEAD (committer-date 2024-11-17) and still seeing it.

Have to try tomorrow w/ one system where I have (fedora-41) -packaged xxdiff in use whether it
happens there, too (and if not will pick the source package to see why not).

That was one of the reasons I am also using xxdiff 3.x...

This is easy to reproduce. Create a file with utf-8 chars there. then copy it, change a bit and then xxdiff
the 2 files. pick parts of the 2 files and save as either. in the saved file I see utf8-chars in latin-1 range
(160-255) to be converted to exactly that 8-bit octet in the written file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants