Hello all!


I need to replace many emoticons in a large xelatex-file. I have had the
intention to make a perl-filter like follows

while(<>){
        s/\x3DD818DE/pix/emo01.jpg/g
        etc etc
}

but already the search in BBEdit for the hexcode did not succeeded.

I made a file with two emoticons:

 😘 🚕

Separated by spaces. The hexdump gave:

0000: 20 00 3D D8 18 DE 20 00 3D D8 95 DE 20 00          .=... .=... .

I searched for the icons first. No success. Then I tried to find the
space. Apparently the space is 20 00. I searched for \x{2000} grep
turned on. Right? No success! There is something obvious I missed.

The code points of the icons I found with "Special Characters" under the
Menu "Edit":

Kiss: U+1F618 (U+D83D U+DE18) UTF-8: F0 9F 98 98
Taxi: U+1F695 (U+D83D U+DE95) UTF-8: F0 9F 9A 95

My Question: how to find with hexcode in general and these icons in
special.

An other question: Am I right, that these emoticons are replaced in
BBEdit with an other font? The default font is set to Lucida Grande in
my BBEdit. But this font does not have these icons. What is going on
behind the scenes? (Probably too complicate this question)


Thank you for any hints


marek

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" 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 bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.

Reply via email to