Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
E

Emoji

> 编程语言
Open source

[UNMAINTAINED] Emoji (Unicode) and emoticon support for Java and Android

100 stars0 likes0 views
WebsiteGitHub

About

[UNMAINTAINED] Emoji (Unicode) and emoticon support for Java and Android

Emoji

  • Android: provides support for Unicode emoji with backwards-compatibility down to Android 2.2
  • Java: converts emoticons to their corresponding Unicode emoji

System requirements

Charsets

Emoji require a character encoding that can represent the specific characters from the Unicode character set. Common examples are UTF-8 and UTF-16.

UTF-16 uses 2 bytes for all characters in the Basic Multilingual Plane (BMP) which includes all code points up to U+FFFF. For characters above that code point, it uses 4 bytes (non-BMP).

GSM (SMS)

GSM text messages (SMS) must be encoded in UTF-16 (70 chars limit) instead of the GSM 7-bit alphabet (160 chars limit) if you want to use Emoji. Non-BMP characters consume 2 of the 70 characters each.

Java

In Java, only BMP characters fit into a single char. Character.toChars(...) returns char[] with a size of 1 for BMP characters and 2 for non-BMP characters.

MySQL

On MySQL 5.5.3+, you have to use the utf8mb4 encoding instead of utf8 because it introduces support for non-BMP characters. Prior to that MySQL version, you would have to use a BLOB instead, for example.

License

Copyright (c) delight.im 

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Java

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言