• Post Reply Bookmark Topic Watch Topic
  • New Topic
permaculture forums growies critters building homesteading energy monies kitchen purity ungarbage community wilderness fiber arts art permaculture artisans regional education skip experiences global resources cider press projects digital market permies.com pie forums private forums all forums
this forum made possible by our volunteer staff, including ...
master stewards:
  • Nancy Reading
  • Carla Burke
  • r ranson
  • John F Dean
  • paul wheaton
  • Pearl Sutton
stewards:
  • Jay Angler
  • Liv Smith
  • Leigh Tate
master gardeners:
  • Christopher Weeks
  • Timothy Norton
gardeners:
  • thomas rubino
  • Jeremy VanGelder
  • Maieshe Ljin

Incorrect emoji translations ( regex probably )

 
pollinator
Posts: 122
91
9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Seen on :

https://permies.com/t/6273/energy/Paul-Wheaton-Wrong-CFLs


Paul has a list going on replying to several discussion points : https://permies.com/forums/posts/quote/0/55310

In the normal view the item ' 28) subsidies - if you have some strong numbers, that would be great. '

Is represented as '" 2"<img src="http://cache-www.permies.com/images/smilies/cool.gif">'


A few issues.
1) it's not ment to be a smiliy face.
2) using a page search for '28' or '28)' does not find the text with a web browser serach.
3) using a forums search for '8)' does not return any results.
4) using the google search for '8)' seems to not work due to the page changes.


Possible fixes?
a) ( in pcre )
look behind non matching assertions.
(?<!(\d|\())8\)

b) adding the text back as alt text in the img reference e.g.
'" 2"<img src="http://cache-www.permies.com/images/smilies/cool.gif" alt="8)">'


good luck.
 
pollinator
Posts: 4154
Location: Northern New York Zone4-5 the OUTER 'RONDACs percip 36''
67
hugelkultur fungi books wofati solar woodworking
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
WTF ? Big AL !
 
steward
Posts: 3718
Location: Moved from south central WI to Portland, OR
985
12
hugelkultur urban chicken food preservation bike bee
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh yeah, that happens sometimes. The software has automatic generation of emojis, and I don't know how to turn it off.

If you have a number eight and then a parenthesis mark, it will turn into a smiley face with big round eyes.

It could be there's a programming expert who will teach us how to get around that.

But really - the post is five years old. Must it be repaired?
 
gardener
Posts: 3545
Location: Central Oklahoma (zone 7a)
1259
forest garden trees woodworking
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's a common problem with forum software -- it takes certain combinations of numbers and punctuation marks (some of the most famous emoticons) and replaces them with graphical smilies. It's a (sometimes annoying) feature, not a bug.

When you are composing a post, you can check the "disable smilies in this message" burton to avoid the problem. If you are making numbered lists with parentheses after the numbers, checking that box is essential
 
author and steward
Posts: 52430
Location: missoula, montana (zone 4)
hugelkultur trees chicken wofati bee woodworking
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I should check the box, but I forget and I think it is funny the 8 ) shows up as .

 
steward
Posts: 7926
Location: Currently in Lake Stevens, WA. Home in Spokane
350
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I never seem to run into this, as I have smileys turned off by default (I don't like them).
So...I would need to intentionally turn them ON in order to send them.
If only there was a way to turn them OFF so I couldn't receive them.

 
It will give me the powers of the gods. Not bad for a tiny ad:
Freaky Cheap Heat - 2 hour movie - HD streaming
https://permies.com/wiki/238453/Freaky-Cheap-Heat-hour-movie
reply
    Bookmark Topic Watch Topic
  • New Topic