emoticons

    3热度

    4回答

    我拆分此字符串的空间:String input = ":-) :) :o) :] :3 :c) :> =] 8) =) :} :^)";(表情之间的空间) 而且结果是: :-)?:)?:o)?:]?:3?:c)?:> =] 8) =)?:}?:^) 里有一些结果奇怪的字符。我不知道为什么。请帮帮我。 下面是代码: fileReader = new BufferedReader(new

    1热度

    1回答

    我正在分析情绪和其他信息的非正式聊天风格消息。我需要将所有表情符号替换为其实际含义,以便系统更容易解析信息。 此刻,我有以下代码: $str = "Am I :) or :(today?"; $emoticons = array( ':)' => 'happy', ':]' => 'happy', ':(' => 'sad', ':[' => 'sad',

    0热度

    1回答

    我有一个聊天应用程序,我想用表情符号来扩展。 这个代码用在文本中插入一个表情符号: Spanned cs = Html.fromHtml("<img src ='"+ index +"'/>", imageGetter, null); int cursorPosition = content.getSelectionStart(); content.getText().

    4热度

    3回答

    我想在我的网站上聊天时放一些漂亮的笑脸,但不幸的是,“< 3”阵列在我的聊天中放置心脏表情不起作用,所有其他的工作正常,我认为“<”是造成这个问题。但我不知道如何解决这个问题,看看下面的代码: $patterns = array(':)', ':D', ':p', ':P', ':(', '(aapje)', '8)', '<3'); $replacements = array('<img sr

    2热度

    1回答

    我想为我的聊天应用程序使用表情符号和默认键盘的自定义键盘。为了编写消息,用户可以在这两个键盘之间切换。 在android中实现此功能的最佳方式是什么?

    0热度

    1回答

    我发现这个脚本:(往下看的笔记) (function($){ $.fn.emotions = function(options){ $this = $(this); var opts = $.extend({}, $.fn.emotions.defaults, options); return $this.each(function(i,obj){

    0热度

    1回答

    有谁知道从instagram标题中删除表情符号?我订阅他们的api喂养某些照片类型并将其显示在我的网站上。我尝试在PHP中使用下面的命令去掉表情符号但没有成功。 $newcaption = preg_replace('/[^a-zA-Z0-9 \.]/s', '', $caption); 有谁知道如何摆脱使用PHP的Instagram表情符号?我不知道他们的ASCII字符集是什么。

    1热度

    2回答

    后,我有测试代码 $chatText = "Hello world :D"; $chatText = str_replace(":D","<img src='happy.jpg' width='20' height='20' alt='Big Smile' />",$chatText); echo $chatText; 基本上它是与image更换:D。 我实际上想要做的是点击<text

    6热度

    2回答

    using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespa

    0热度

    2回答

    我需要做什么来完成此操作?我正在考虑使用Phantom Open Emoji集,但我需要整合它。 如果我不能使用这个,我可以用什么换取我的内容中的表情符号? 我想我会为这个权利做一个插件?