mdbCodingList(5)

πŸ“¦
version 1.8.4 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– mdbCodingList(5) β€” bestie, it's the m17n Library page πŸ’–

okay so real talk: this is mdbCodingList(5), a manual page from The m17n Library, and it is way less scary than the name suggests. it's literally just the receipt for how coding systems get defined. sit with me, we got this 🫢


✨ NAME ✨

mdbCodingList β€” the list of coding system definitions. that's it, that's the whole name, slay πŸ’…


🌸 DESCRIPTION 🌸

so here's the vibe. when the m17n library wakes up (aka at initialization time), it goes and loads a whole list of coding system definitions out of the m17n database. how does it find them? by the tags <coding-list>. she knows what she's looking for πŸ‘‘

and the data it loads? it comes in as a plist, in exactly this format:

CODING-LIST ::= DEFINITION *

DEFINITION ::= '(' NAME ( KEY VALUE ) * ')'
NAME ::= SYMBOL

KEY ::= SYMBOL

VALUE ::= SYMBOL | INTEGER | MTEXT | PLIST

not me presenting the grammar like it's a fit check. but fr fr, memorize it, it's giving iconic 🌈

  • NAME is the name of a coding system to define. like, the whole point. main character energy.
  • the KEY and VALUE pair? that's a property, and it gets handed over to the function mconv_define_coding() as the second argument. periodt πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

iykyk, go read those next bestie πŸ’œ


Copyright (C) 2001 Information-technology Promotion Agency (IPA)

Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>.


okay that's the whole page!! and just so you have the receipts, this was Version 1.8.4 and it's dated Mon Sep 25 2023 πŸ’– thanks for reading with me, ily, go define some coding systems 🧚✨🌸
πŸ“¦ where this page comes from