php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #7535 Entities missing in get_html_translation_table ( HTML_ENTITIES );
Submitted: 2000-10-30 13:26 UTC Modified: 2003-05-08 12:45 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: weazel at cal022011b dot student dot utwente dot nl Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.3pl1 OS: FreeBSD
Private report: No CVE-ID: None
 [2000-10-30 13:26 UTC] 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)

"ÿ" => "ÿ"
"ƒ" => "ƒ"
"Α" => "Α"
"Β" => "Β"
"Γ" => "Γ"
"Δ" => "Δ"
"Ε" => "Ε"
"Ζ" => "Ζ"
"Η" => "Η"
"Θ" => "Θ"
"Ι" => "Ι"
"Κ" => "Κ"
"Λ" => "Λ"
"Μ" => "Μ"
"Ν" => "Ν"
"Ξ" => "Ξ"
"Ο" => "Ο"
"Π" => "Π"
"Ρ" => "Ρ"
"Σ" => "Σ"
"Τ" => "Τ"
"Υ" => "Υ"
"Φ" => "Φ"
"Χ" => "Χ"
"Ψ" => "Ψ"
"Ω" => "Ω"
"α" => "α"
"β" => "β"
"γ" => "γ"
"δ" => "δ"
"ε" => "ε"
"ζ" => "ζ"
"η" => "η"
"θ" => "θ"
"ι" => "ι"
"κ" => "κ"
"λ" => "λ"
"μ" => "μ"
"ν" => "ν"
"ξ" => "ξ"
"ο" => "ο"
"π" => "π"
"ρ" => "ρ"
"ς" => "ς"
"σ" => "σ"
"τ" => "τ"
"υ" => "υ"
"φ" => "φ"
"χ" => "χ"
"ψ" => "ψ"
"ω" => "ω"
"ϑ" => "ϑ"
"ϒ" => "ϒ"
"ϖ" => "ϖ"
"•" => "•"
"…" => "…"
"′" => "′"
"″" => "″"
"‾" => "‾"
"⁄" => "⁄"
"℘" => "℘"
"ℑ" => "ℑ"
"ℜ" => "ℜ"
"™" => "™"
"ℵ" => "ℵ"
"←" => "←"
"↑" => "↑"
"→" => "→"
"↓" => "↓"
"↔" => "↔"
"↵" => "↵"
"⇐" => "⇐"
"⇑" => "⇑"
"⇒" => "⇒"
"⇓" => "⇓"
"⇔" => "⇔"
"∀" => "∀"
"∂" => "∂"
"∃" => "∃"
"∅" => "∅"
"∇" => "∇"
"∈" => "∈"
"∉" => "∉"
"∋" => "∋"
"∏" => "∏"
"∑" => "∑"
"−" => "−"
"∗" => "∗"
"√" => "√"
"∝" => "∝"
"∞" => "∞"
"∠" => "∠"
"∧" => "∧"
"∨" => "∨"
"∩" => "∩"
"∪" => "∪"
"∫" => "∫"
"∴" => "∴"
"∼" => "∼"
"≅" => "≅"
"≈" => "≈"
"≠" => "≠"
"≡" => "≡"
"≤" => "≤"
"≥" => "≥"
"⊂" => "⊂"
"⊃" => "⊃"
"⊄" => "⊄"
"⊆" => "⊆"
"⊇" => "⊇"
"⊕" => "⊕"
"⊗" => "⊗"
"⊥" => "⊥"
"⋅" => "⋅"
"⌈" => "⌈"
"⌉" => "⌉"
"⌊" => "⌊"
"⌋" => "⌋"
"⟨" => "〈"
"⟩" => "〉"
"◊" => "◊"
"♠" => "♠"
"♣" => "♣"
"♥" => "♥"
"♦" => "♦"
"Œ" => "Œ"
"œ" => "œ"
"Š" => "Š"
"š" => "š"
"Ÿ" => "Ÿ"
"ˆ" => "ˆ"
"˜" => "˜"
" " => " "
" " => " "
" " => " "
"‌" => "‌"
"‍" => "‍"
"‎" => "‎"
"‏" => "‏"
"–" => "–"
"—" => "—"
"‘" => "‘"
"’" => "’"
"‚" => "‚"
"“" => "“"
"”" => "”"
"„" => "„"
"†" => "†"
"‡" => "‡"
"‰" => "‰"
"‹" => "‹"
"›" => "›"
"€" => "€"

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-27 18:58 UTC] 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.
 [2002-12-04 10:42 UTC] philip@php.net
Can someone explain this a bit in laymens terms so it can be documented?
 [2003-05-08 12:44 UTC] 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/


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 28 03:00:03 2025 UTC