#7535 [Ana->Csd]: Entities missing in get_html_translation_table ( HTML_ENTITIES );

From: Date: Thu, 08 May 2003 17:45:10 +0000
Subject: #7535 [Ana->Csd]: Entities missing in get_html_translation_table ( HTML_ENTITIES );
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39330@lists.php.net to get a copy of this message
ID: 7535 Updated by: moriyoshi@php.net Reported By: weazel at cal022011b dot student dot utwente dot nl -Status: Analyzed +Status: Closed Bug Type: Feature/Change Request Operating System: FreeBSD PHP Version: 4.0.3pl1 Previous Comments: ------------------------------------------------------------------------ [2003-05-08 12:44:34] moriyoshi@php.net You're better off using html_entity_decode() that is going to come up with full unicode support to decode html entities. Although the unicode support will be in php5, you can try the latest develepment snapshot which can be fetched at http://snaps.php.net/ ------------------------------------------------------------------------ [2002-12-04 10:42:00] philip@php.net Can someone explain this a bit in laymens terms so it can be documented? ------------------------------------------------------------------------ [2002-04-27 18:58:16] jimw@php.net ÿ and € are implemented. (€ when using the iso-8859-15 charset.) the other entities are not included because htmlentities() does not handle entities outside of the 8-bit character range. ------------------------------------------------------------------------ [2000-10-30 13:26:39] weazel at cal022011b dot student dot utwente dot nl These are the entities not listed in this function. Character entity references in HTML 4 (http://www.w3.org/TR/html4/sgml/entities.html) "ÿ" => "ÿ" "ƒ" => "ƒ" "Α" => "Α" "Β" => "Β" "Γ" => "Γ" "Δ" => "Δ" "Ε" => "Ε" "Ζ" => "Ζ" "Η" => "Η" "Θ" => "Θ" "Ι" => "Ι" "Κ" => "Κ" "Λ" => "Λ" "Μ" => "Μ" "Ν" => "Ν" "Ξ" => "Ξ" "Ο" => "Ο" "Π" => "Π" "Ρ" => "Ρ" "Σ" => "Σ" "Τ" => "Τ" "Υ" => "Υ" "Φ" => "Φ" "Χ" => "Χ" "Ψ" => "Ψ" "Ω" => "Ω" "α" => "α" "β" => "β" "γ" => "γ" "δ" => "δ" "ε" => "ε" "ζ" => "ζ" "η" => "η" "θ" => "θ" "ι" => "ι" "κ" => "κ" "λ" => "λ" "μ" => "μ" "ν" => "ν" "ξ" => "ξ" "ο" => "ο" "π" => "π" "ρ" => "ρ" "ς" => "ς" "σ" => "σ" "τ" => "τ" "υ" => "υ" "φ" => "φ" "χ" => "χ" "ψ" => "ψ" "ω" => "ω" "ϑ" => "ϑ" "ϒ" => "ϒ" "ϖ" => "ϖ" "•" => "•" "…" => "…" "′" => "′" "″" => "″" "‾" => "‾" "⁄" => "⁄" "℘" => "℘" "ℑ" => "ℑ" "ℜ" => "ℜ" "™" => "™" "ℵ" => "ℵ" "←" => "←" "↑" => "↑" "→" => "→" "↓" => "↓" "↔" => "↔" "↵" => "↵" "⇐" => "⇐" "⇑" => "⇑" "⇒" => "⇒" "⇓" => "⇓" "⇔" => "⇔" "∀" => "∀" "∂" => "∂" "∃" => "∃" "∅" => "∅" "∇" => "∇" "∈" => "∈" "∉" => "∉" "∋" => "∋" "∏" => "∏" "∑" => "∑" "−" => "−" "∗" => "∗" "√" => "√" "∝" => "∝" "∞" => "∞" "∠" => "∠" "∧" => "∧" "∨" => "∨" "∩" => "∩" "∪" => "∪" "∫" => "∫" "∴" => "∴" "∼" => "∼" "≅" => "≅" "≈" => "≈" "≠" => "≠" "≡" => "≡" "≤" => "≤" "≥" => "≥" "⊂" => "⊂" "⊃" => "⊃" "⊄" => "⊄" "⊆" => "⊆" "⊇" => "⊇" "⊕" => "⊕" "⊗" => "⊗" "⊥" => "⊥" "⋅" => "⋅" "⌈" => "⌈" "⌉" => "⌉" "⌊" => "⌊" "⌋" => "⌋" "⟨" => "〈" "⟩" => "〉" "◊" => "◊" "♠" => "♠" "♣" => "♣" "♥" => "♥" "♦" => "♦" "Œ" => "Œ" "œ" => "œ" "Š" => "Š" "š" => "š" "Ÿ" => "Ÿ" "ˆ" => "ˆ" "˜" => "˜" " " => " " " " => " " " " => " " "‌" => "‌" "‍" => "‍" "‎" => "‎" "‏" => "‏" "–" => "–" "—" => "—" "‘" => "‘" "’" => "’" "‚" => "‚" "“" => "“" "”" => "”" "„" => "„" "†" => "†" "‡" => "‡" "‰" => "‰" "‹" => "‹" "›" => "›" "€" => "€" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=7535&edit=1

« previous php.bugs (#39330) next »