Good morning,

On 19/12/14 at 9:07 PM +0100, Marek Stepanek <[email protected]> wrote:

To finish this thread:

I should have read ahead...


#!/usr/bin/perl

use strict;
use warnings;
# use utf8;

If you keep the 'use utf8' line then you can use literal unicode characters in your script.

s!\x{1f618}!\\includegraphics[height=15pt]{/Users/mstep/Documents/
private_txt/anette/pix/emo01.png}!g;

You can then use the literal (pasted) unicode character in the script. It will be easier to maintain, and also potentially easier to write.


Charlie

--
   Charlie Garrison  <[email protected]>
   github.com/cngarrison   metacpan.org/author/CNG

O< ascii ribbon campaign - stop html mail
http://www.ietf.org/rfc/rfc1855.txt

--
This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to