Tagged articles
37 articles
Page 1 of 1
ITPUB
ITPUB
Dec 2, 2025 · Frontend Development

Why Do Some Emojis Count as Multiple Characters in JavaScript?

When debugging a web app, the author discovered that certain emojis occupy more than one character slot in JavaScript strings, revealing that emoji length varies because they are composed of multiple Unicode code points such as variation selectors and zero‑width joiners.

EmojiJavaScriptUnicode
0 likes · 4 min read
Why Do Some Emojis Count as Multiple Characters in JavaScript?
Java Tech Enthusiast
Java Tech Enthusiast
Jun 19, 2025 · Fundamentals

Why Apple Emojis Look Different on Android—and What It Means for Users

Apple's exclusive emojis often appear as unrelated symbols on Android devices, leading to misunderstandings; this article explains the technical reasons behind the display differences, shares real‑world examples, and traces the history and global adoption of emojis from their Japanese origins to today’s Unicode standards.

EmojiUnicodeUser experience
0 likes · 4 min read
Why Apple Emojis Look Different on Android—and What It Means for Users
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Feb 10, 2025 · Frontend Development

Mastering Emoji in Front‑End Development

This article explains the Unicode foundation of Emoji, shows how to insert and style them in HTML, CSS and JavaScript, discusses common pitfalls with surrogate pairs and string slicing, and presents modern solutions such as Intl.Segmenter and libraries like grapheme‑splitter and emoji‑regex for reliable handling.

CSSEmojiIntl.Segmenter
0 likes · 14 min read
Mastering Emoji in Front‑End Development
Sohu Tech Products
Sohu Tech Products
Jul 24, 2024 · Mobile Development

Performance Optimization for Emoji Deletion in Android EditText Using Profiler and Emoji2

Using Android Profiler we discovered that deleting many custom emojis in an EditText triggers repeated DynamicLayout ChangeWatcher calls, causing up to two‑second lag, and by adopting the emoji2 library’s EmojiSpan rendering with a custom EditableFactory that suppresses onSpanChanged for emoji spans, the lag is eliminated.

AndroidEditTextEmoji
0 likes · 10 min read
Performance Optimization for Emoji Deletion in Android EditText Using Profiler and Emoji2
dbaplus Community
dbaplus Community
Jun 2, 2024 · Databases

Why MySQL Emoji Inserts Fail and How utf8mb4 Fixes Them

This article explains why inserting emoji characters into a MySQL table defined with the default utf8 charset triggers a string‑value error, explores the underlying encoding and charset concepts, compares utf8mb3 and utf8mb4, and shows how to convert tables to avoid such failures.

Character SetEmojicollation
0 likes · 9 min read
Why MySQL Emoji Inserts Fail and How utf8mb4 Fixes Them
dbaplus Community
dbaplus Community
May 5, 2024 · Databases

Why MySQL’s utf8 Isn’t Real UTF‑8 and How utf8mb4 Solves Emoji Errors

The article explains why MySQL’s built‑in utf8 charset cannot store four‑byte characters such as emojis, demonstrates the resulting insert error, shows how switching the database, table and connection to utf8mb4 fixes the issue, and recounts the historical reasons behind MySQL’s limited utf8 implementation.

Character SetEmojiencoding
0 likes · 8 min read
Why MySQL’s utf8 Isn’t Real UTF‑8 and How utf8mb4 Solves Emoji Errors
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 11, 2023 · Databases

Understanding utf8mb4 and Its Advantages in MySQL 8.0

This article explains the differences between utf8, utf8mb3 and utf8mb4 character sets in MySQL, demonstrates how utf8mb4 enables full Unicode support including emojis, and provides step‑by‑step SQL examples for creating tables, inserting data, and querying results with the proper character set.

EmojiUnicodemysql
0 likes · 12 min read
Understanding utf8mb4 and Its Advantages in MySQL 8.0
Programmer DD
Programmer DD
Nov 23, 2023 · Fundamentals

Explore Java 21’s New Emoji Detection APIs

Java 21 introduces six static methods in java.lang.Character that let developers reliably detect emojis, emoji presentations, modifiers, modifier bases, components, and extended pictographic characters using Unicode code points, with practical code examples and regex usage.

EmojiUnicode
0 likes · 4 min read
Explore Java 21’s New Emoji Detection APIs
Sohu Tech Products
Sohu Tech Products
Jul 12, 2023 · Fundamentals

The Mystery of Character Encoding: Unicode, UTF‑8, UTF‑16, GBK and Emoji

This article explains the fundamentals of character encoding, covering Unicode’s universal character set, the structure of its planes and surrogate areas, the variable‑length UTF‑8 and UTF‑16 encodings, Chinese‑specific GBK encoding, and practical iOS code examples for handling Unicode, emojis and regular‑expression based Chinese character detection.

EmojiGBKUTF-8
0 likes · 12 min read
The Mystery of Character Encoding: Unicode, UTF‑8, UTF‑16, GBK and Emoji
Alipay Experience Technology
Alipay Experience Technology
Apr 23, 2023 · Fundamentals

Decoding Emoji: Unicode, Variants, and JavaScript Handling

This article explains how emojis are represented in Unicode, covering basic code points, variation selectors, skin‑tone modifiers, zero‑width joiners, flag ligatures, tag sequences and keycap symbols, and shows how JavaScript can correctly process them using grapheme‑cluster techniques.

EmojiUnicodecharacter encoding
0 likes · 16 min read
Decoding Emoji: Unicode, Variants, and JavaScript Handling
Xianyu Technology
Xianyu Technology
Aug 24, 2022 · Frontend Development

Implementing Length-Limited Input with Unicode and Emoji Support in JavaScript

The article explains how to enforce a custom length limit in JavaScript input fields that counts English letters and numbers as half a unit, Chinese characters as one unit, and each emoji as one unit, using Unicode code‑point detection, regex extraction, and automatic truncation to prevent overflow.

EmojiFront-endJavaScript
0 likes · 10 min read
Implementing Length-Limited Input with Unicode and Emoji Support in JavaScript
Programmer DD
Programmer DD
Aug 16, 2022 · Fundamentals

Why Does JavaScript .length Miscount Emoji? A Deep Dive into UTF‑16 and Unicode

This article explains why JavaScript's string length property returns unexpected values for Unicode characters like emojis, explores UTF‑16 encoding rules, and demonstrates modern ES6 techniques—including for‑of loops, spread syntax, and the \u{…} and /u regex flags—to correctly handle Unicode strings.

EmojiJavaScriptUTF-16
0 likes · 9 min read
Why Does JavaScript .length Miscount Emoji? A Deep Dive into UTF‑16 and Unicode
Java Backend Technology
Java Backend Technology
Oct 14, 2021 · Databases

Why MySQL’s utf8 Fails with Emojis and How utf8mb4 Solves It

This article explains the difference between MySQL’s utf8 and utf8mb4 character sets, why utf8 cannot store emojis or complex Chinese characters, and provides step‑by‑step examples showing how to configure tables and columns with utf8mb4 to avoid encoding errors.

Character SetEmojiencoding
0 likes · 10 min read
Why MySQL’s utf8 Fails with Emojis and How utf8mb4 Solves It
Laravel Tech Community
Laravel Tech Community
Jan 7, 2021 · Databases

Understanding MySQL utf8 vs utf8mb4 and How to Store Emoji Correctly

This article explains why MySQL's legacy utf8 charset cannot store four‑byte characters such as emoji, demonstrates the resulting insertion error, and shows how switching the database, table, and column collations to utf8mb4 resolves the issue while also covering the historical reasons behind MySQL's limited utf8 implementation.

Character SetEmojiencoding
0 likes · 7 min read
Understanding MySQL utf8 vs utf8mb4 and How to Store Emoji Correctly
JD.com Experience Design Center
JD.com Experience Design Center
Dec 16, 2020 · Fundamentals

From Cave Paintings to Emoji: How Visual Symbols Shaped Modern Digital Communication

Emoji and emoticons evolved from prehistoric cave drawings and 19th‑century printed symbols to today’s ubiquitous digital icons, reflecting shifts in communication technology, cultural practices, and user‑generated content, while influencing language, emotion expression, and even gaining official recognition in dictionaries.

Emojicultural historydigital communication
0 likes · 10 min read
From Cave Paintings to Emoji: How Visual Symbols Shaped Modern Digital Communication
macrozheng
macrozheng
Aug 20, 2020 · Databases

Why MySQL’s utf8 Isn’t Real UTF‑8 and How utf8mb4 Fixes Emoji Errors

The article explains why MySQL’s built‑in utf8 charset only supports up to three‑byte characters, causing insert errors with four‑byte emojis, and shows how switching tables, system, and connection settings to utf8mb4 resolves the issue while detailing the historical reasons behind this limitation.

Character SetEmojidatabase encoding
0 likes · 9 min read
Why MySQL’s utf8 Isn’t Real UTF‑8 and How utf8mb4 Fixes Emoji Errors
58UXD
58UXD
May 28, 2020 · Frontend Development

Mastering Web Font-Family: Ensure Consistent Typography Across Platforms

This article explains how web fonts are rendered, why the same design draft can show different typefaces on Windows and macOS, and provides practical guidance on using the CSS font-family property, including handling of common fonts and Emoji symbols to achieve consistent, cross‑platform typography.

CSSEmojiUI design
0 likes · 10 min read
Mastering Web Font-Family: Ensure Consistent Typography Across Platforms
Laravel Tech Community
Laravel Tech Community
Apr 25, 2020 · Backend Development

Integrating Emoji Support in Laravel Using the Laravel‑Emoji Package

This article explains how to add Unicode emoji rendering to a Laravel application by installing the Laravel‑Emoji extension, configuring Composer, registering the service provider and alias, defining a route, and using the Emoji class in a controller to convert aliases, names, and Unicode codes into emoji graphics.

BackendComposerEmoji
0 likes · 4 min read
Integrating Emoji Support in Laravel Using the Laravel‑Emoji Package
Xianyu Technology
Xianyu Technology
Apr 16, 2020 · Mobile Development

Design and Implementation of RichText Mixed Content in Flutter for Xianyu Messaging

The article details Xianyu’s migration of its messaging rich‑text system to Flutter, explaining how RichText became a MultiChildRenderObjectWidget, how custom emoji placeholders are converted to HTML tags and parsed into TextSpan and WidgetSpan elements, enabling colored text, clickable links, and emoji rendering across Flutter versions.

EmojiFlutterMobile Development
0 likes · 9 min read
Design and Implementation of RichText Mixed Content in Flutter for Xianyu Messaging
Sohu Tech Products
Sohu Tech Products
Aug 14, 2019 · Mobile Development

Building an Android Input Method (IME) for Emoji/Sticker Sending in WeChat

This article explains how to develop an Android input‑method service that displays a custom emoji keyboard, retrieves image paths, commits them to the active app, and uses AccessibilityService to automate sending, covering project setup, core APIs, XML keyboard layout, and advanced optimization techniques.

AccessibilityServiceAndroidEmoji
0 likes · 18 min read
Building an Android Input Method (IME) for Emoji/Sticker Sending in WeChat
ITPUB
ITPUB
Jul 21, 2017 · Databases

How to Fix MySQL Emoji Errors with utf8mb4: A Complete Guide

This article explains why MySQL throws "Incorrect string value" when storing emojis, how utf8mb4 solves the problem, and provides step‑by‑step instructions—including table conversion, my.cnf changes, connector upgrades, and runtime workarounds—for reliable emoji storage.

Character SetEmojiJDBC
0 likes · 7 min read
How to Fix MySQL Emoji Errors with utf8mb4: A Complete Guide
dbaplus Community
dbaplus Community
Jan 7, 2016 · Databases

Mastering Character Sets: Diagnose and Fix MySQL Garbled Text

This article explains character sets and encodings, shows why MySQL data can become garbled, and provides step‑by‑step methods—including proper configuration, common pitfalls, and reliable repair techniques—to prevent and correct encoding issues such as emoji storage failures.

EmojiGBKUTF-8
0 likes · 24 min read
Mastering Character Sets: Diagnose and Fix MySQL Garbled Text