Re: Please help me with this perl question

[email protected] (Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯) Tue, 14 Feb 2012 11:01:07 +0100
Newsgroups perl.unicode
Message-ID <[email protected]>
--Sig_/4nhqoQMqa4yV0kSF3yXZVDF
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yes, it is possible. This is an example:

    perl -C -E'say"\x{e8f4}\x{e8f5}"'

Screenshot: <http://i.imgur.com/wivY9.png>

The magic happens not at the Perl level, but at the rendering step.

I first picked two unassigned codepoints. Unicode provides a private
use area for exactly this kind of purpose.

I also took care not to trample over a [registered script]
(http://enwp.org/ConScript_Unicode_Registry). Then I created a
font with two glyphs, `U+E8F4 ROTATED LATIN CAPITAL LETTER D` and
`U+E8F5 LATIN CAPITAL LETTER A WITHOUT COUNTER`, and installed it.
Last, I restarted my terminal application so that the new font gets
picked up, and executed the Perl one-liner from above.

--Sig_/4nhqoQMqa4yV0kSF3yXZVDF
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)

iEYEARECAAYFAk86MOoACgkQFtlTdOX00Hoz7wCcCKQ8SuCvkpICpckZDOc/DUtW
nO4An1J2d0YbcnaL+cmzcTe57O+r3ROA
=42AW
-----END PGP SIGNATURE-----

--Sig_/4nhqoQMqa4yV0kSF3yXZVDF--