I have a file that contains this symbol: https://www.compart.com/en/unicode/U+20AC
If I delete the symbol and replace it, git reports no changes. So I think it must be correct. My terminal window displays it OK. Emacs displays this as \342\202\254. Which wasn't a problem until today. But weird. The correct UTF8 encoding is 0xE2 0x82 0xAC which is different. Suddenly today emacs decided to start objecting to this: === cut === These default coding systems were tried to encode text in the buffer ‘ *temp file*’: (utf-8 (868651 . 4194274) (868652 . 4194178) (868653 . 4194220) (873638 . 4194274) (873639 . 4194178) (873640 . 4194220) (879706 . 4194274) (879707 . 4194178) (879708 . 4194220) (885462 . 4194274) (885463 . 4194178)) However, each of them encountered characters it couldn’t encode: utf-8 cannot encode these: ... Click on a character (or switch to this window by ‘M-m w w’ and select the characters by RET) to jump to the place it appears, where ‘M-m u C-x =’ will give information about it. Select one of the safe coding systems listed below, or cancel the writing with C-g and edit the buffer to remove or modify the problematic characters, or specify any other coding system (and risk losing the problematic characters). raw-text no-conversion === cut === So far everything I have tried to get emacs to back off. But nothing works. * I did a search and replace and changed the invalid string into the correct character. But this is saved as the same data. * I tried selecting different/no conversions. Didn't help. Is emacs in Debian bullseye have broken utf8 handling? How do I get emacs to back off and just let me edit the file without constantly complaining? In fact it is now complaining about this email. For now, will just replace all these UTF8 characters with ASCII characters. But kind of bugs me that this is required. -- Brian May <[email protected]> https://linuxpenguins.xyz/brian/ _______________________________________________ luv-main mailing list -- [email protected] To unsubscribe send an email to [email protected]
