WebFront Nutzung von emoticons / emjoy Unicodes für WFC_PushNotification

Hallo,

gibt es eine Möglichkeit der Nutzung von emjoys / emoticons Unicodes für WFC_PushNotifications?

So könnte man Nachrichten kürzer halten, was zu einer besseren und schnelleren Lesbarkeit auf z:b: einer AppleWatch führt.

UB

Probier es doch einfach mal mit Unicode aus.

Ich habe es noch nicht getestet, aber da wir alles in UTF-8 senden, sollte Unicode sauber durchgehen :slight_smile:

paresy

Läuft:


WFC_PushNotification(37621 /*[Wartung]*/, "Emoji Test", "Hallo: " . json_decode('"\uD83D\uDE00"'), "", 0);

paresy

Perfekt, mir war nicht ganz klar, wie ich den Unicode behandeln muss. Ich probiere es heute Abend aus.

Hier noch ein spanneder Link:
How to convert Emoji from Unicode in PHP? - Stack Overflow

paresy

Wie rechnet man denn U+1F600 in \uD83D\uDE00 um?

Antwort ist auch dort :
How to convert Emoji from Unicode in PHP? - Stack Overflow
Michael

Danke, da muss man erst man drauf kommen :confused:, na ja ab PHP 7 wird es leichter.

Funktioniert [emoji1303]

Gesendet von iPhone mit Tapatalk