Files
html/wiki/V30-charset-utf8-fix.md
Opus-V30 39933854e9
Some checks failed
WEVAL NonReg / nonreg (push) Has been cancelled
V30 Opus 13h57 charset UTF-8 nginx + Apache - User REGLE TOUT WARN ALERTE ANOMALIE UX HALLU verifier ce qui fait reellement - Audit WTP HTML rendu revelle title br broken WEVAL Technology Platform a All-in-One ERP Portal + description Portail unifi broken capacit broken au lieu de unifie capacites - Cause racine double encoding UTF-8: fichiers disque UTF-8 correct (em-dash e2 80 94) + meta charset UTF-8 present dans HTML MAIS HTTP header Content-Type text/html sans charset=utf-8 navigateurs appliquent Latin-1 par defaut affichage corrompu - Fix 1 nginx /etc/nginx/sites-enabled/weval-consulting ajout charset utf-8 apres server_name dans bloc HTTPS listen 443 - Fix 2 Apache /etc/apache2/conf-enabled/charset.conf decomments AddDefaultCharset UTF-8 (reload via apachectl graceful car systemd namespacing tmp bug) - Verification 6 pages root+index+wtp+trust-center+wevia-master+ethica-login toutes servent text/html charset=utf-8 apres fix - Title WEVAL Technology Platform em-dash All-in-One ERP Portal + description unifie capacites correctes - GOLD vault nginx-weval-consulting.gold-v30-pre-charset + apache-charset.conf.gold-v30-pre-utf8-default + chattr+i re-lock nginx config - NonReg 153/153 stable 43eme session - Services 23/23 UP stable - Wiki + vault V30-charset-utf8-fix.md entry + gold chattr+i - Doctrine 1 WEVIA-FIRST audit via chat doctrine 3 GOLD 2 fichiers doctrine 4 HONNETE headers http analyses doctrine 5 surgical 2 lignes ajoutees doctrine 6 TOUT TESTE 6 pages regression doctrine 13 cause racine charset absent http header doctrine 14 additif directive nouvelle pas ecrasement doctrine 16 NonReg 153/153 - Pages publiques et internes affichent maintenant accents em-dash parfaits site entier [Opus V30 charset-utf8-nginx-apache]
2026-04-20 13:58:51 +02:00

2.9 KiB

V30 · Opus · Fix charset UTF-8 nginx + Apache · 20 avril 2026

Driver : Yacine GO doctrine #1 WEVIA-FIRST #4 HONNÊTE "REGLE TOUT WARN ALERTE ANOMALIE UX PROBLEME HALLU verifie ce qui fait reellement"

Cause racine (doctrine #13)

Audit direct du HTML rendu de weval-technology-platform.html a révélé :

  • Title affiché : WEVAL Technology Platform â All-in-One ERP Portal (au lieu de )
  • Description : Portail unifié ... capacités (au lieu de unifié ... capacités)

Cause : double-encoding UTF-8 parce que :

  1. Fichiers sur disque = UTF-8 correct (em-dash = bytes e2 80 94)
  2. <meta charset="UTF-8"> présent dans HTML
  3. MAIS HTTP header Content-Type: text/html sans charset=utf-8 → navigateurs appliquent Latin-1 par défaut → affichage corrompu

Fix surgical (doctrine #5)

Nginx (fichier principal)

/etc/nginx/sites-enabled/weval-consulting → ajout charset utf-8; après server_name dans le bloc HTTPS listen 443.

Apache 5890 (secondaire, dashboard internes)

/etc/apache2/conf-enabled/charset.conf → décommenté AddDefaultCharset UTF-8 (reload via apachectl graceful).

Vérification (doctrine #6 TOUT TESTÉ)

Page Content-Type après fix
/ text/html; charset=utf-8
/index.html text/html; charset=utf-8
/weval-technology-platform.html text/html; charset=utf-8
/trust-center.html text/html; charset=utf-8
/wevia-master.html text/html; charset=UTF-8
/ethica-login.html text/html; charset=UTF-8

Title/description rendu :

  • WEVAL Technology Platform — All-in-One ERP Portal
  • WEVAL Technology Platform — Portail unifié ERP-like tous serveurs, toutes apps, toutes capacités

GOLD (doctrine #3)

  • /opt/wevads/vault/golds/nginx-weval-consulting.gold-v30-pre-charset
  • /opt/wevads/vault/golds/apache-charset.conf.gold-v30-pre-utf8-default

chattr +i re-locked nginx config

Métriques V30

Metric Before V30 After V30
Pages charset header text/html (no charset) text/html; charset=utf-8
Title affichage â broken correct ✓
Description affichage unifié broken unifié correct ✓
NonReg 153/153 153/153 ✓
Services 23/23 UP 23/23 UP ✓

Doctrines appliquées

  • #1 WEVIA-FIRST : audit lancé via chat + read wiki/vault avant action
  • #3 GOLD : 2 golds créés (nginx + apache)
  • #4 HONNÊTE : headers http analysés précisément, pas de hallu
  • #5 Séquence surgical : 2 lignes ajoutées (nginx + apache)
  • #6 TOUT TESTÉ : 6 pages testées après reload
  • #13 Cause racine : charset=utf-8 absent du header HTTP (pas un bug JS/HTML)
  • #14 Additif : aucun écrasement, seulement directive nouvelle
  • #16 NonReg 153/153 stable post-fix

V30 · 2 fichiers config · 0 régression · 100% pages charset UTF-8 · affichage accents fixé site entier