Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: ram@zedat.fu-berlin.de (Stefan Ram) Newsgroups: comp.os.linux.misc,alt.folklore.computers Subject: Re: Unicode, not Recent history of vi Date: 5 Dec 2025 11:45:46 GMT Organization: Stefan Ram Lines: 16 Expires: 1 Jun 2026 11:59:58 GMT Message-ID: References: <10ga6r1$7ph$1@news.misty.com> <10gpatq$jpt$3@news.misty.com> <10gte9a$2cpi$1@gal.iecc.com> <10guba1$1798l$1@dont-email.me> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de aNF66h8Q+rH4NC7l0392tAIeWAIFOto+thCCtW1yaxqgC5 Cancel-Lock: sha1:ykJ+tW+L1qT/bHW+ER2V/oLoqqs= sha256:oK9I5ygJPSA/AkioAnT5VrGApsrO1WTrnHtuRyPqRn8= X-Copyright: (C) Copyright 2025 Stefan Ram. All rights reserved. Distribution through any means other than regular usenet channels is forbidden. It is forbidden to publish this article in the Web, to change URIs of this article into links, and to transfer the body without this notice, but quotations of parts in other Usenet posts are allowed. X-No-Archive: Yes Archive: no X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some services to mirror the article in the web. But the article may be kept on a Usenet archive server with only NNTP access. X-No-Html: yes Content-Language: en Xref: csiph.com comp.os.linux.misc:78316 alt.folklore.computers:232372 Nuno Silva wrote or quoted: >them. Meaning one could in theory have software that'd replace >unreadable emojis by their text representation. Python: import unicodedata for ch in "Hi😄": if 32 <= ord(ch) <= 126: print(end=ch) else: print(end=f"[{unicodedata.name(ch)}]") Output: Hi[SMILING FACE WITH OPEN MOUTH AND SMILING EYES]