Re: non ascii character

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thanks Todd

good to know!!   


On Sat, Aug 2, 2025, 10:23 AM Michael D. Setzer II via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
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
-- 
_______________________________________________
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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux