Skip to content

WebCheatSheet

The easy way to know

  • PHP
  • HTML
  • JavaScript
  • SQL
  • ASP
  • MS Access Functions
  • SaaS
  • Email

Category: HTML

HTML

Detect and Repair Double-Encoded UTF-8 Text

Sergey KornilovSeptember 26, 2026

Recognize common double-encoded UTF-8 patterns, reverse a known Windows-1252 mis-decoding in PHP, and avoid corrupting already-correct rows.

HTML

Unicode Normalization: NFC vs NFD

Sergey KornilovSeptember 26, 2026

Understand why visually identical Unicode strings can compare differently and when to normalize text to NFC or NFD in JavaScript and databases.

HTML

Fix Invalid UTF-8 Errors in JSON

Sergey KornilovSeptember 26, 2026

Find and repair malformed UTF-8 before JSON encoding in PHP, preserve error visibility, and avoid silently discarding corrupted input.

HTML

Fix Mojibake After a MySQL Migration

Sergey KornilovSeptember 26, 2026

Diagnose and repair garbled text after a MySQL migration by separating stored bytes, column metadata, connection character sets, and application output.

HTML

Convert Windows-1252 Text to UTF-8

Sergey KornilovSeptember 26, 2026

Convert Windows-1252 text and files to UTF-8 without losing smart quotes, dashes, euro signs, or other characters commonly mistaken for ISO-8859-1.

HTML

HTML Special Characters and Symbols Reference

adminAugust 28, 2026August 29, 2026

A practical reference for reserved HTML characters, spacing, typography, currency, and arrows.

HTML

Fix Character Encoding Problems in CSV Files

adminAugust 28, 2026August 29, 2026

Convert legacy CSV files to UTF-8 while preserving quoted fields and delimiters.

HTML

UTF-8 BOM: What It Is and When It Causes Problems

adminAugust 28, 2026August 29, 2026

Detect and safely remove a UTF-8 BOM when it breaks headers, JSON, CSV, or scripts.

HTML

HTML Meta Charset vs HTTP Content-Type Header

adminAugust 28, 2026August 29, 2026

Understand how the HTTP Content-Type header and HTML meta charset declaration control decoding.

HTML

Find a Character’s Unicode Code Point with JavaScript

adminAugust 28, 2026August 29, 2026

Find Unicode code points correctly in JavaScript, including supplementary characters.

Posts navigation

Older posts

Recent Posts

  • When to Use a Composite Primary Key
  • Implement create_sid() in a Custom PHP Session Handler
  • Fix MySQL Error 1038 for Wide Rows and Filesort
  • Why SQL Server Does Not Choose a Merge Join
  • Trace a JavaScript Error to Its Real Source

Recent Comments

  1. Validate JPG and JPEG Uploads with PHP Fileinfo – WebCheatSheet on Secure File Upload with PHP
  2. Send Email through SMTP with PHPMailer – WebCheatSheet on Send Email with PHP: HTML, Text, and Attachments
  3. Choose MySQL Indexes for Multiple WHERE Patterns – WebCheatSheet on SQL WHERE Clause
  4. Move a MySQL Database to a New Server with Minimal Downtime – WebCheatSheet on How to Back Up and Restore a MySQL Database
  5. Use SQL Server Stored Procedure Output Parameters Correctly – WebCheatSheet on Connect PHP to SQL Server with PDO_SQLSRV

Archives

  • October 2026
  • September 2026
  • August 2026
  • October 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022

Categories

  • ASP
  • Email
  • HTML
  • JavaScript
  • MS Access Functions
  • PHP
  • SaaS Architecture
  • SQL
  • Uncategorized
Copyright © 2026 WebCheatSheetFresh News by Ascendoor | Powered by WordPress.