Re: OT: Analysing UTF-8 file contents.

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

 



On Tue, Dec 21, 2021 at 02:36:09PM +1000, Michael D. Setzer II via users wrote:
> The all file has 28 characters that include some strange ones.
>       5 e2808b     [​]	ZERO WIDTH SPACE (U+200B)
>       1 e28092     [‒]	FIGURE DASH (U+2012)
>      44 e28093     [–]	EN DASH (U+2013)
>       2 e28094     [—]	EM DASH (U+2014)
> Not clear what the Zero Wicth Space is for?

Zero-width space is used to indicate a word boundary where characters might
run together. It can be used in languages which do not usually have visual
space between words, or if for example you have a character like - or _
which is normally considered part of a word in some system but which you
want to separate. You can also use it in a website if you have a long string
which you want to break _somewhere_ if it has to be wrapped to fit on
screen.

> The other 3 here all look the same to me??

The figure dash is the same width as a numeral in a typeface. It's what you
technically should use in something like a serial number with dashes between
pairings.

The en dash is the width of a N character, and is used to indicate ranges
(2004–2021) and some other obscure stuff.

The em dash is sets off a parenthetical clause and adds emphasis. It's what
people write as -- on a typewriter.



-- 
Matthew Miller
<mattdm@xxxxxxxxxxxxxxxxx>
Fedora Project Leader
_______________________________________________
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 on the list, report it: https://pagure.io/fedora-infrastructure



[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