EOCONV(1)
π EOCONV π
okay so bestie, this is the manual page for eoconv(1) from the User Contributed Perl Documentation section, and honestly? it's giving "quiet little utility that does one thing and does it iconically." it converts text files between various Esperanto encodings. yes, that's the whole job. no cap. π¦
β¨ NAME β¨
eoconv β Convert text files between various Esperanto encodings
πΈ USAGE πΈ
eoconv [-q] --from=encoding --to=encoding [file ...]
Options:
--from specify input encoding (see below)
--to specify output encoding (see below)
-q, --quiet suppress warnings
--help detailed help message
--man full documentation
--version display version information
Valid encodings:
post-h post-H post-x post-X post-caret pre-caret latex
html-hex html-dec iso-8859-3 utf-7 utf-8 utf-16 utf-32
π DESCRIPTION π
so here's the vibe: eoconv reads the input files you hand it (or stdin if you hand it literally nothing, which, valid), assumes that text is in whatever encoding you said with --from, and then spits it back out in whatever encoding you said with --to. that's it. that's the whole main character arc. β¨
π OPTIONS π
--from=encodingβ specify the character encoding of the input. tell it what it's looking at, bestie.--to=encodingβ specify the character encoding of the output. tell it where it's going.-q,--quietβ suppress non-essential warning messages. the "not now, i'm busy" flag π«Ά-?,--helpβ print a brief help message and exit. little snack, quick read.--manβ print the manual page and exit. that's me! hi! π--versionβ print version information and exit.
π₯ CHARACTER ENCODINGS π₯
post-hβ ASCII postfix h notationpost-Hβ ASCII postfix H notationpost-xβ ASCII postfix x notationpost-Xβ ASCII postfix X notationpost-caretβ ASCII postfix caret (^) notationpre-caretβ ASCII prefix caret (^) notationlatex,LaTeXβ ASCII LaTeX sequenceshtml-hex,HTML-hexβ ASCII HTML hexadecimal entitieshtml-dec,HTML-decβ ASCII HTML decimal entitiesiso-8859-3,ISO-8859-3,latin3,latin-3,Latin3,Latin-3β ISO-8859-3utf-7,UTF-7,utf7,UTF7β Unicode UTF-7utf-8,UTF-8,utf8,UTF8β Unicode UTF-8utf-16,UTF-16,utf16,UTF16β Unicode UTF-16utf-32,UTF-32,utf32,UTF32β Unicode UTF-32
π ESPERANTO ORTHOGRAPHY π
okay so, lore time. Esperanto is written in an alphabet of 28 letters. but only 22 of those letters can be found in the standard ASCII character set π. the remaining six β c, g, h, j, and s with circumflex, and u with breve β are not available in ASCII, and they're not among the characters available in the common 8-bit ISO-8859-1 character encoding either. so likeβ¦ while those six special Esperanto characters pose no problem for handwritten texts, they were impossible to represent on standard typewriters, and they're somewhat problematic even on modern-day computers. so many encoding systems got invented to represent Esperanto text in printed and typed text. iconic problem-solving behavior, honestly. π
β POSTFIX-h NOTATION β
this was the solution proposed by the creator of Esperanto himself, L. L. Zamenhof. he recommended using u for u-breve and appending an h to a letter to indicate that it should have a circumflex. BUT β and this is the part where we hold hands and brace ourselves β the letters u and h are already part of the Esperanto alphabet, so using them for another purpose invites ambiguity and mispronunciation. it also makes conversion of Esperanto text to postfix-h notation lossy or one-way; it is generally not possible to convert from postfix-h notation via automated means. and there's an additional drawback: the text cannot be sorted with standard rules for ASCII text. π
β POSTFIX-H NOTATION β
same as postfix-h notation, except that H is used instead of h following a capital letter. capital energy only. π
β POSTFIX-x NOTATION β
this is the most common ASCII notation encountered today. you append an x to a letter to indicate that it should have an accent (be it circumflex or breve). since x is not a letter in the Esperanto alphabet, no ambiguity results. slay. however β and there's always a however β ASCII sorting algorithms still fail with postfix-x text. π
β POSTFIX-X NOTATION β
same as postfix-x notation, except that X is used instead of x following a capital letter.
β PREFIX- AND POSTFIX-CARET NOTATION β
two slightly less popular ASCII encodings, where you prepend or append a caret (^) to a letter to indicate that it should have an accent. the niche girlies of Esperanto encodings. π
β ISO-8859-3 (LATIN-3) β
ISO 8859-3, also known as Latin-3 or South European, is an 8-bit character encoding for Esperanto. high-bit characters are used to encode the accented Esperanto letters. ISO-8859-3 can also be used for encoding English, Finnish, German, Italian, Latin, Maltese, Turkish, and Portuguese, making it useful for texts which mix Esperanto with one or more of these languages. multilingual queen behavior. π
β UNICODE (ISO/IEC 10646) β
Unicode is a standard for matching every character of every human language to a specific code. the mapping methods are known as Unicode Transformation Formats (UTF). among them are UTF-32, UTF-16, UTF-8 and UTF-7, where the numbers indicate the number of bits in one unit. math but make it global. β¨
β LaTeX SEQUENCES β
the popular LaTeX typesetting package is capable of representing virtually any accented character. note that conversion from LaTeX sequences assumes that characters to be accented are enclosed in braces β for example, \^{C} will be recognized as C with circumflex, but \^C will not be. braces or it didn't happen, bestie. π«Ά
β HTML ENTITIES β
Unicode codes for Esperanto characters can be escaped in HTML documents by using HTML entities. the codes can be represented in either decimal (base-10) or hexadecimal (base-16) notation; the two are functionally equivalent. pick your fighter, they're the same fighter. π
π BUGS AND LIMITATIONS π
because the postfix-h and postfix-H notations are inherently ambiguous, conversion from postfix-h or -H text is unlikely to result in coherent text.
use at your own risk, and carefully proofread the results. seriously. proofread. i am begging. π
report bugs to <psychonaut@nothingisreal.com>.
π AUTHOR π
Tristan Miller <psychonaut@nothingisreal.com>
πΈ SEE ALSO πΈ
charsets(7), ascii(7), iso_8859-3(7), unicode(7), utf-8(7), latex(1)
π LICENSE AND COPYRIGHT π
Copyright (C) 2004-2016 Tristan Miller.
Permission is granted to make and distribute verbatim or modified copies of this manual provided the copyright notice and this permission notice are preserved on all copies.
and that's the whole page, bestie β this one came from perl v5.30.0 and it was dated 2020-05-09, so if you're reading it later than that, go touch grass and also check for a newer version. mwah π
π¦ where this page comes from
- debian bookworm: eoconv 1.5-2 Β· GPL-3.0-or-later
- ubuntu jammy: eoconv 1.5-2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms