Skip to content

WebCheatSheet

The easy way to know

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

Author: Sergey Kornilov

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.

SQL

Move a MySQL Database to a New Server with Minimal Downtime

Sergey KornilovSeptember 26, 2026

Move a MySQL database with a consistent seed copy, replication catch-up, controlled cutover, validation, and a rollback window.

SQL

Convert a MySQL Database to utf8mb4 Safely

Sergey KornilovSeptember 26, 2026

Convert MySQL schemas, tables, and text columns to utf8mb4 with an inventory, explicit collation choice, index checks, and staged verification.

SQL

Fix SQL Server Certificate Chain Not Trusted Errors

Sergey KornilovSeptember 26, 2026

Fix SQL Server certificate chain not trusted connection errors by validating the server name, certificate chain, driver encryption defaults, and client trust.

SQL

Fix SQL Server Collation Conflicts Between Databases

Sergey KornilovSeptember 26, 2026

Resolve SQL Server collation conflict errors in cross-database joins, temp tables, UNION queries, and comparisons without changing more schema than necessary.

SQL

Move SQL Server Database Files to Another Drive

Sergey KornilovSeptember 26, 2026

Relocate SQL Server MDF, NDF, and LDF files safely with ALTER DATABASE MODIFY FILE, an offline window, correct permissions, and verification.

Posts navigation

Older posts
Newer posts

Recent Posts

  • Apply Different Symfony Form Themes to Individual Forms
  • Fix PHP 8.4 Implicitly Nullable Parameter Warnings
  • Migrate Legacy Password Hashes During Symfony Login
  • Store Custom Data on DOM Elements Safely
  • Prevent Account Enumeration in Login Error Messages

Recent Comments

  1. Build Accessible Tabs with JavaScript – WebCheatSheet on How to Control Tab Order in HTML
  2. Verify SQL Server Backups with CHECKSUM and VERIFYONLY – WebCheatSheet on Fix SQL Server ‘Insufficient Access Rights’ During Backup
  3. Get the Latest MySQL Value Before Two Dates – WebCheatSheet on SQL GROUP BY
  4. Count Duplicate Values in a JavaScript Array – WebCheatSheet on JavaScript Arrays
  5. Fix MySQL Error 1038 for Wide Rows and Filesort – WebCheatSheet on Determine the MySQL Version from the Command Line

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.