Tag

encoding

0 views collected around this technical thread.

Tencent Cloud Developer
Tencent Cloud Developer
Apr 17, 2025 · Fundamentals

Protobuf Encoding Principles and Optimization Techniques

The article explains how Protocol Buffers (proto3) encode basic and composite types using varint, zigzag, fixed-size and IEEE‑754 formats, describes tag and length field structures, and presents optimization strategies such as selecting size‑efficient types, flattening nested messages, and delta‑encoding to significantly reduce serialized byte‑stream size.

ProtobufProtocol BuffersSerialization
0 likes · 15 min read
Protobuf Encoding Principles and Optimization Techniques
php中文网 Courses
php中文网 Courses
Jan 17, 2025 · Backend Development

Using PHP Built‑in JSON Functions to Encode, Decode, and Retrieve Data from APIs

This article explains PHP's native JSON functions—json_encode and json_decode—showing how to convert PHP variables to JSON strings and back, and demonstrates a practical cURL example for fetching and processing JSON data from a remote API.

APIJSONPHP
0 likes · 3 min read
Using PHP Built‑in JSON Functions to Encode, Decode, and Retrieve Data from APIs
Java Tech Enthusiast
Java Tech Enthusiast
Jul 27, 2024 · Fundamentals

The Story Behind the Creation of UTF-8 and Its Advantages

Rob Pike and Ken Thompson devised UTF‑8 in 1992 at Bell Labs, turning a three‑day prototype into the web’s dominant Unicode encoding by using a variable‑length, ASCII‑compatible, length‑prefixed and prefix‑free scheme that maximizes efficiency, robustness, and universal adoption across more than 96 % of sites.

Computer ScienceHistoryUTF-8
0 likes · 6 min read
The Story Behind the Creation of UTF-8 and Its Advantages
Efficient Ops
Efficient Ops
May 26, 2024 · Databases

Why MySQL’s “utf8” Isn’t Real UTF‑8 and How utf8mb4 Solves It

This article explains why MySQL’s built‑in utf8 charset only supports three‑byte characters, why emojis cause errors, and how switching to the proper utf8mb4 charset resolves insertion issues while preserving full Unicode support.

MySQLcharacter setdatabase
0 likes · 9 min read
Why MySQL’s “utf8” Isn’t Real UTF‑8 and How utf8mb4 Solves It
Bilibili Tech
Bilibili Tech
Apr 26, 2024 · Artificial Intelligence

2024 Bilibili Technology Patent Awards – Highlights of Ten Winning Innovations

On World Intellectual Property Day, Bilibili honored ten breakthrough patents that together enable billion‑scale video duplicate detection, AI‑driven story generation, synchronized live rhythm‑games, automatic OTT casting, knowledge‑graph‑based content moderation, glitch‑free multi‑audio streaming, modular playback integration, neural‑network resolution encoding, AV1 reference‑frame pruning, and fine‑grained GPU isolation.

Artificial IntelligenceInteractive MediaPatent
0 likes · 6 min read
2024 Bilibili Technology Patent Awards – Highlights of Ten Winning Innovations
php中文网 Courses
php中文网 Courses
Jan 8, 2024 · Backend Development

Using PHP urlencode to Encode URLs and Non-ASCII Characters

This article explains how PHP's urlencode function encodes URLs containing special or non‑ASCII characters, provides example code for both English and Chinese strings, and discusses handling spaces with rawurlencode for more precise encoding.

PHPURL encodingWeb Development
0 likes · 4 min read
Using PHP urlencode to Encode URLs and Non-ASCII Characters
Architects' Tech Alliance
Architects' Tech Alliance
Dec 13, 2023 · Fundamentals

Evolution of PCIe Standards and Test Requirements

This article traces the evolution of the PCI Express (PCIe) standard from its 1.0 inception to the latest 6.0 specification, highlighting key differences in data rates, encoding schemes, equalization techniques, and test requirements that enable higher bandwidth and reliability for modern data‑center and AI workloads.

HardwarePCIedata center
0 likes · 11 min read
Evolution of PCIe Standards and Test Requirements
Didi Tech
Didi Tech
Nov 9, 2023 · Databases

Redis Hash Internal Encoding: Ziplist vs Hashtable – Performance Analysis and Optimization

The incident showed that Redis hashes encoded as ziplist incur O(N) HEXISTS latency, causing high CPU on hot keys, while hashtable‑encoded hashes remain O(1); adjusting hash‑max‑ziplist settings or redesigning hot‑key patterns can convert to faster, though more memory‑hungry, hashtable encoding.

HashTablePerformanceRedis
0 likes · 17 min read
Redis Hash Internal Encoding: Ziplist vs Hashtable – Performance Analysis and Optimization
DeWu Technology
DeWu Technology
Oct 25, 2023 · Mobile Development

Video Experience Optimization: Technical Improvements and Performance Analysis

The report details how targeted technical enhancements—refined encoding pipelines, playback logic tweaks, and start‑up caching—address mobile video challenges such as latency, stutter, and desynchronization, yielding up to 25 % less stutter, a 42.8 % drop in failures, and nearly 50 % faster first‑frame loading while outlining future testing and cross‑team optimization plans.

Mobile DevelopmentPerformanceencoding
0 likes · 13 min read
Video Experience Optimization: Technical Improvements and Performance Analysis
Sohu Tech Products
Sohu Tech Products
Sep 20, 2023 · Backend Development

Analyzing and Fixing Encoding Issues in Python Requests, Scrapy, and Golang Charset Libraries

The article examines how Python Requests, Scrapy, and Go’s charset package detect page encodings, reveals why they often mis‑decode Chinese GB‑series pages, and proposes a unified strategy—prefer header charset, then HTML meta, finally a reliable heuristic—to eliminate garbled text in web scraping.

PythonRequestsScrapy
0 likes · 8 min read
Analyzing and Fixing Encoding Issues in Python Requests, Scrapy, and Golang Charset Libraries
php中文网 Courses
php中文网 Courses
Sep 1, 2023 · Backend Development

PHP mb_substr() Function: Definition, Parameters, Return Value, Usage Notes, and Examples

The PHP mb_substr() function provides multibyte‑aware substring extraction, allowing developers to specify start position, length, and encoding to correctly handle Unicode strings, with detailed parameter explanations, return values, important usage notes, and practical code examples.

Multibytebackendencoding
0 likes · 5 min read
PHP mb_substr() Function: Definition, Parameters, Return Value, Usage Notes, and Examples
php中文网 Courses
php中文网 Courses
Aug 21, 2023 · Backend Development

Using PHP mb_strlen() to Accurately Measure Multibyte String Lengths

This article explains how to use PHP's mb_strlen() function to accurately measure string lengths, handle multibyte characters, specify encodings, retrieve byte counts, count character occurrences, and work with different language encodings, providing clear code examples for each case.

backend developmentencodingmb_strlen
0 likes · 4 min read
Using PHP mb_strlen() to Accurately Measure Multibyte String Lengths
Top Architect
Top Architect
May 17, 2023 · Databases

Redis Data Types Overview and Internal Implementations

An extensive guide to Redis data structures—including strings, hashes, lists, sets, sorted sets, streams, hyperloglog, geospatial, bitmap, and bitfield—detailing their use cases, underlying encodings, conversion thresholds, and internal implementation details with code examples.

CachePerformanceRedis
0 likes · 30 min read
Redis Data Types Overview and Internal Implementations
Laravel Tech Community
Laravel Tech Community
Jan 10, 2023 · Information Security

Dongle: A Lightweight, Semantic, Developer‑Friendly Go Library for Encoding, Decoding, and Cryptographic Operations

Dongle is a lightweight, Go-based library offering extensive encoding/decoding and cryptographic functions—including various hash, HMAC, and symmetric/asymmetric algorithms—along with recent updates such as tea‑mode support, empty‑string padding, and code restructuring, and is featured in the awesome‑go collection.

CryptographyGoencoding
0 likes · 4 min read
Dongle: A Lightweight, Semantic, Developer‑Friendly Go Library for Encoding, Decoding, and Cryptographic Operations
Laravel Tech Community
Laravel Tech Community
Nov 23, 2022 · Information Security

Dongle: A Lightweight Go Library for Encoding, Decoding, and Cryptographic Operations

Dongle is a lightweight, semantic Go library that offers extensive encoding/decoding capabilities and a full suite of encryption, decryption, and hashing algorithms, making it a developer‑friendly tool for data transformation and security tasks.

CryptographyGoencoding
0 likes · 2 min read
Dongle: A Lightweight Go Library for Encoding, Decoding, and Cryptographic Operations
转转QA
转转QA
Sep 6, 2022 · Backend Development

A Case Study of Troubleshooting Service Log Garbled Character Issues

This article details a step‑by‑step investigation of Java service log garbled‑character problems caused by incorrect LC_CTYPE and locale settings, describing how environment variable synchronization via SSH led to ASCII encoding defaults and outlining preventive configurations for both client and server.

JavaLinuxbackend development
0 likes · 9 min read
A Case Study of Troubleshooting Service Log Garbled Character Issues
Python Programming Learning Circle
Python Programming Learning Circle
Jul 26, 2022 · Fundamentals

Python File I/O: Opening, Reading, Writing, Modes, and Common Pitfalls

This article explains Python's file handling fundamentals, covering the open() function syntax, file object methods, various read/write modes, encoding options, pointer manipulation with seek() and tell(), and best practices to avoid data loss when reading or writing large files.

File I/OPythonRead Write
0 likes · 8 min read
Python File I/O: Opening, Reading, Writing, Modes, and Common Pitfalls
Ctrip Technology
Ctrip Technology
May 26, 2022 · Backend Development

Memory Structure Selection and Optimization for Hotel Query Service

This article examines how Ctrip's hotel query service selects and optimizes in‑memory cache structures—covering Java object layout, HashMap overhead, alternative collections, and various encoding techniques—to achieve high‑performance reads and updates while drastically reducing memory consumption.

CacheHashMapJava
0 likes · 23 min read
Memory Structure Selection and Optimization for Hotel Query Service