Coder Social home page Coder Social logo

binarywang / java-emoji-converter Goto Github PK

View Code? Open in Web Editor NEW
286.0 286.0 75.0 141 KB

Emoji转换工具,便于各种类型的客户端生成的Emoji字符串转换成另外一种格式

Java 100.00%
alias-emoji emoji html-emoji java java-emoji-converter softbank-emoji unicode-emoji

java-emoji-converter's Introduction

visitor badge

trophy

Github

Binary Wang's GitHub stats

Top Langs

Fun

github contribution grid snake animation

java-emoji-converter's People

Contributors

binarywang avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

java-emoji-converter's Issues

使用这个工具后wx-java-pay报错

报错内容:
Handler dispatch failed; nested exception is java.lang.NoSuchMethodError: com.thoughtworks.xstream.XStream.setupDefaultSecurity(Lcom/thoughtworks/xstream/XStream;)V

关于🟰的转换

Mac系统 自带输入法的🟰转换失败,可能它不是个emoji?

toAlias方法入参 : (350-300)✖️6➗2🟰150

输出: (350-300):heavy_multiplication_x:️6:heavy_division_sign:2🟰150

xstream版本1.4.8后需要配置安全框架

xstream版本1.4.8后需要配置安全框架

com.thoughtworks.xstream.security.ForbiddenClassException: com.github.binarywang.java.emoji.model.Emoji4Unicode
at com.thoughtworks.xstream.security.NoTypePermission.allows(NoTypePermission.java:26)
at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:74)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47)
at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:133)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1391)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1376)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1327)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1281)
at com.github.binarywang.java.emoji.EmojiReader.read(EmojiReader.java:53)
at com.github.binarywang.java.emoji.EmojiReader.getSb2UnicodeMap(EmojiReader.java:81)
at com.github.binarywang.java.emoji.EmojiConverter.sb2Unicode(EmojiConverter.java:49)
at com.github.binarywang.java.emoji.EmojiConverter.toAlias(EmojiConverter.java:32)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.