Tagged articles
6 articles
Page 1 of 1
Open Source Tech Hub
Open Source Tech Hub
Jun 24, 2025 · Backend Development

Discover PHP 8.5’s New Array, Pipe, and cURL Features for Faster Development

PHP 8.5, slated for release in November 2025, introduces handy array helpers, a left‑to‑right pipe operator, getters for error and exception handlers, a cURL multi‑handle retrieval function, RTL locale detection, a build‑date constant, and a CLI option to show only modified INI settings, all aimed at improving developer experience and debugging.

CLIPHP 8.5Pipe Operator
0 likes · 5 min read
Discover PHP 8.5’s New Array, Pipe, and cURL Features for Faster Development
Goodme Frontend Team
Goodme Frontend Team
Oct 28, 2024 · Frontend Development

Preventing Day.js Locale Pollution in Large Frontend Projects with Static Analysis

This article recounts a date‑misalignment bug caused by an unintended Day.js locale change in a mini‑program, explains why the global locale must remain unique, and details a comprehensive static‑analysis solution using ESLint, custom Webpack loaders, and Babel plugins to intercept and block Day.js locale modifications at compile time.

DayjsESLintfrontend
0 likes · 22 min read
Preventing Day.js Locale Pollution in Large Frontend Projects with Static Analysis
ITPUB
ITPUB
Sep 13, 2016 · Fundamentals

Why Does Text Turn into Gibberish? Mastering Encoding and Fixing Garbled Characters

This article explains why text files can become unreadable garbled characters, explores binary representation, locale settings, and common character sets like ANSI and Unicode, and provides practical command‑line techniques such as using iconv to convert between encodings and avoid display issues.

GBKIConvcharacter-set
0 likes · 10 min read
Why Does Text Turn into Gibberish? Mastering Encoding and Fixing Garbled Characters
21CTO
21CTO
Jan 4, 2016 · Fundamentals

Why Chinese Text Gets Garbled and How to Fix It: A Deep Dive into Encoding Standards

This article explains why Chinese characters often appear as garbled text on Windows and Linux, introduces the history and hierarchy of Chinese encoding standards such as GB2312, GBK, GB18030 and Unicode, compares ASCII, UTF‑8/16/32, shows practical command‑line experiments, and offers guidance for handling Chinese text in C and Python programs.

GB2312PythonUTF-8
0 likes · 25 min read
Why Chinese Text Gets Garbled and How to Fix It: A Deep Dive into Encoding Standards