Re: Character (or byte?) escapes under utf8 pragma
[email protected] (Aristotle Pagaltzis) Sun, 4 Apr 2010 22:26:39 +0200
| Newsgroups | perl.unicode |
|---|---|
| Message-ID | <[email protected]> |
Hi Michael, I just noticed I never replied to this… * Michael Ludwig <[email protected]> [2010-03-08 15:50]: > Am 07.03.2010 um 07:39 schrieb Aristotle Pagaltzis: > >Use the \U escape to indicate that you always mean a Unicode > >code point. Due to other quirks in how \U is implemented, it > >ends up not triggering the bug that \x would. > > How would I use that? I only know about the U specifier for > pack: > > my $smiley = pack 'U', 0x263a; Sorry – I meant \N. Eg in that case, my $smiley = "\N{U+263A}"; Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>