http://wikis.swarthmore.edu/ling073/index.php?title=Special:NewPages&feed=atom&hidebots=1&hideredirs=1&limit=20&offset=&namespace=0&username=&tagfilter=LING073 - New pages [en]2024-03-30T05:33:38ZFrom LING073MediaWiki 1.27.7http://wikis.swarthmore.edu/ling073/Uni()Uni()2024-02-02T19:09:12Z<p>Jwashin1: Created page with "To get the codepoints of typed or copied characters, a simple command can be defined on a terminal. uni(){ c=$(cat); for((i=0;i<${#c};i++)); do printf "<U%04X>" "'${c:i:1}"..."</p>
<hr />
<div>To get the codepoints of typed or copied characters, a simple command can be defined on a terminal.<br />
<br />
uni(){ c=$(cat); for((i=0;i<${#c};i++)); do printf "<U%04X>" "'${c:i:1}"; done; }<br />
<br />
<br />
To use the command, do something like this:<br />
<br />
$ echo รค | uni</div>Jwashin1