Code Monkey home page Code Monkey logo

c-emojicheck's Introduction

c-emojicheck

在移动应用开发的过程中发现 消息中有大量的emoji 编码字符 emoji编码的字符 现在的使用C语言 进行 识别 和 查找 会存在问题 jni 对 emoji 的是识别 也会有问题, 会出现 crash 为了解决这个问题,专门开发了这个项目, 其中emoji列表 可能存在遗漏,请大家指正

使用说明: int check_emoji( const char * src, int slen, int * pos );

src 字符串, slen 字符串真的总字节数 pos 要检查的 字节起始位置, pos 值会被修改成 下一个字(word)的起始位置

返回 0/-1

具体使用例子 请参考 demo.c

c-emojicheck's People

Contributors

clm971910 avatar

Watchers

 avatar  avatar

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.