19

!$rant

So I'm getting closer to finishing my devrant-widget project but ran into an issue because some people use emojis in their about, skills, website, etc *cough @alice.. cough* and well.. it creates internal server errors because emojis dont magically convert themselves xD But I think I found a fix. On to the next bug.

Comments
  • 4
    you could use a emoji to image class.

    ive used this once, not great but it did cover alot of emoji's

    although looking for a php class that could do it i dont find much :(

    https://github.com/iamcal/php-emoji
  • 3
    @C0D4 Yeah I did my share of searching for a great solution, this project being one of them. I ultimately settled on a neat lightweight function that simply converts the emojis to html entities so I can process them as text but html will render them as emojis. I'll probably just use this until I figure out something better.
  • 2
    Follow up :)
  • 3
    @konicm8ker looks interesting, will sub to you once I am on my phone, but as a suggestion, maybe try to maintain the newlines?
  • 1
    Well try managing profiles of @cozyplanes and @skayo
  • 2
    Is the widget project open source? If so I've been working with emoji in php for the past month or so (check my rants on it) and I'd be happy to help here.
  • 1
    Check out devcards in collabs made by probably @ewpratten
  • 5
    @CozyPlanes
    We stopped working on devcards because the generation time took too long.

    When this project is done, I will most likely replace the devcards with it in the devcredits site.
Add Comment