DICTL(1)
π DICTL β bestie's guide to the lil charset-remix wrapper π
okay so picture this: your terminal is stuck in the past and does NOT speak utf-8, but the dictionary you're trying to read is fully utf-8 encoded. dictl is the girl in the middle who translates for both of them. it's a wrapper script for dict that lets you use utf-8 encoded dictionaries on a terminal that is not utf-8 aware. no cap.
β¨ SYNOPSIS β¨
dictl [OPTIONS] [word]
πΈ DESCRIPTION πΈ
so here's the tea: dictl calls dict with the arguments you gave it on the command line. that's it, that's the whole job. π«Ά
it figures out your preferred character set by reading the environment variable DICTL_CHARSET. and if that variable is empty? no worries bestie, dictl just runs the locale command and sniffs out the character set from its output. main character detective energy. π
then everything you pass to dictl β including word β gets converted from your preferred character set into the server's character set, which is whatever DICTL_SERVER_CHARSET says (and if that one's unset, it defaults to utf-8). then all of it goes to dict. and when dict talks back, its output gets converted right back into your preferred character set. a whole round trip, a whole glow-up. π
NOTE: okay listen, this part matters. becauseiconvstraight up omits characters from the output when they're invalid,recode -fis what gets used for character set conversions by default. if you're aniconvgirlie and you want that instead, just setDICTL_USE_ICONVto a non-empty string. and ifkonwertis more your vibe, setDICTL_USE_KONWERTto a non-empty string. pick your fighter. π₯
and one more thing, because I love you: recode, iconv and konwert do not support conversion to or from the "C" or "POSIX" locales. so if your locale is "C" or "POSIX", it's recommended that you set DICTL_CHARSET to "latin1" (ISO_8859-1). do it. it's giving self-care. π
β OPTIONS β
dictlaccepts alldictoptions as described indict(1).
like, all of them. every single one. she's not gatekeeping, she's just passing them straight through to dict. iykyk. β¨
π AUTHOR π
dictl was written by Aleksey Cheusov <vle@gmx.net>.
This manual page was written by Robert D. Hilliard <hilliard@debian.org> and Aleksey Cheusov <vle@gmx.net>.
π¦ SEE ALSO π¦
and that's the whole page bestie, mwah π this lil slice of the General Commands Manual is DICTL(1) β that's the section 1 manual name right there. go forth and read your utf-8 dictionaries on your crusty non-utf-8 terminal. slay. ππ
π¦ where this page comes from
- arch rolling: dictd 1.13.3-1 Β· GPL-1.0-or-later AND GPL-2.0-or-later
- fedora 43: dictd-server 1.13.3-2.fc43 Β· GPL-2.0-only AND GPL-2.0-or-later AND GPL-1.0-or-later AND GPL-3.0-or-later AND MIT AND BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- fedora 44: dictd-server 1.13.3-5.fc44 Β· GPL-2.0-only AND GPL-2.0-or-later AND GPL-1.0-or-later AND GPL-3.0-or-later AND MIT AND BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- nixos 26.05: dictd 1.13.3
- nixpkgs unstable: dictd 1.13.3
- opensuse-leap 16.0: dictd 1.13.1-bp160.1.12 Β· BSD-3-Clause AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND MIT AND SUSE-Public-Domain
- opensuse-leap 16.0: dictd 1.13.1-bp160.1.12 Β· BSD-3-Clause AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND MIT AND SUSE-Public-Domain
- opensuse-leap 16.0: dictd 1.13.1-bp160.1.12 Β· BSD-3-Clause AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND MIT AND SUSE-Public-Domain
- opensuse-leap 16.0: dictd 1.13.1-bp160.1.12 Β· BSD-3-Clause AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND MIT AND SUSE-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms