On 2 Aug 2025 at 15:41, Patrick Dupre via users wrote: To: users@xxxxxxxxxxxxxxxxxxxxxxx Subject: Re: non ascii character Date sent: Sat, 2 Aug 2025 15:41:52 +0200 Send reply to: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx> From: Patrick Dupre via users <users@xxxxxxxxxxxxxxxxxxxxxxx> Copies to: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx>, Patrick Dupre <pdupre@xxxxxxx> > > I used > grep -axv '.*' > > Seems OK > > Subject:Re: non ascii character > I might be wrong, but I thought I had seen online free apps that would allow u to upload > docs and then strip out non ascii chars. > > there might be apps that also highlight the non ascii chars > > there might be editors that would edit non ascii, going from ascii to non ascii > did a test with a UTF-8 file tr -d '[:print:]\|[:cntrl:]' <peanut >/tmp/out; hexedit /tmp/out File peanut was a utf8 file and resulting /tmp/out file has just the non-ascii characters. E2 80 99 E2 80 99 E2 80 99 E2 80 99 E2 80 99 E2 80 99 In that case utf-8 e28099 [’] RIGHT SINGLE QUOTATION MARK (U+2019) > > > On Sat, Aug 2, 2025, 9:17 AM Patrick Dupre via users <users@xxxxxxxxxxxxxxxxxxxxxxx> > wrote: > Hello, > > Opnening a file with gedit I get > > > The file you opened has some invalid characters. If you continue editing this file you could > corrupt this document. > > file says > ISO-8859 text > > instead of > ASCII text > > How can I identify which characters is not ASCII? > > Thank > > ======================================================= > ==================== > Patrick DUPRÉ | | email: pdupre@xxxxxxx > ======================================================= > ==================== > > -- > _______________________________________________ > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx > Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue > > -- _______________________________________________ users mailing list -- > users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to > users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: > https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: > https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to > spam, report it: https://pagure.io/fedora-infrastructure/new_issue +------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@xxxxxxxx mailto:msetzerii@xxxxxxxxx mailto:msetzerii@xxxxxxx Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+ -- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue