Unicode numbered entities are essential for ensuring consistent character rendering and maintaining accessibility in EPUB files across different reading systems and devices. This guide focuses specifically on decimal and hexadecimal numbered entities, their implementation, and best practices in digital publishing.
• Decimal Format: &#[number];
• Hexadecimal Format: &#x[hex number];
• Both formats reference the same Unicode code points
• All Unicode characters can be represented using either format
1. Decimal Entities
– Begin with &#
– Use base-10 numbers
– Example: © for copyright symbol
2. Hexadecimal Entities
– Begin with &#x
– Use base-16 numbers
– Example: © for copyright symbol
• Complete Unicode coverage
• Consistent representation method
• Reliable across platforms
• Easy programmatic generation
• Simplified validation processes
• Direct mapping to Unicode code points
• Easier automated processing
• Reduced complexity in conversion workflows
• Universal compatibility with reading systems
• Straightforward encoding validation
• Simplified character set management
• Consistent processing approach
• Reliable rendering across devices
• Left Single Quote: ‘ or ‘
• Right Single Quote: ’ or ’
• Left Double Quote: “ or “
• Right Double Quote: ” or ”
• Single Low Quote: ‚ or ‚
• Double Low Quote: „ or „
• Prime: ′ or ′
• Double Prime: ″ or ″
• Non-Breaking Space:   or  
• En Space:   or  
• Em Space:   or  
• Thin Space:   or  
• Zero-Width Space: ​ or ​
• Word Joiner: ⁠ or ⁠
• Em Dash: — or —
• En Dash: – or –
• Hyphen: ‐ or ‐
• Minus Sign: − or −
• Plus-Minus: ± or ±
• Multiplication: × or ×
• Division: ÷ or ÷
• Not Equal: ≠ or ≠
• Less Than or Equal: ≤ or ≤
• Greater Than or Equal: ≥ or ≥
• Infinity: ∞ or ∞
• Pound: £ or £
• Euro: € or €
• Cent: ¢ or ¢
• Yen: ¥ or ¥
• Copyright: © or ©
• Registered Trademark: ® or ®
• Trademark: ™ or ™
• Section: § or §
• Paragraph: ¶ or ¶
• Left Arrow: ← or ←
• Right Arrow: → or →
• Up Arrow: ↑ or ↑
• Down Arrow: ↓ or ↓
• Double Left Arrow: ⇐ or ⇐
• Double Right Arrow: ⇒ or ⇒
• á: á or á
• é: é or é
• í: í or í
• ó: ó or ó
• ú: ú or ú
• ñ: ñ or ñ
• ü: ü or ü
1. Choose either decimal or hexadecimal format and use consistently
2. Always include the semicolon terminator
3. Use UTF-8 encoding for EPUB files
4. Validate entities after implementation
5. Maintain documentation of commonly used entities
<!-- Proper
declaration in HTML files -->
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8"/>
</head>
<!-- Example of decimal entity usage -->
<p>The temperature
range is −20°C to +30°C.</p>
<p>Copyright © 2025 Publisher’s Name</p>
<p>The distance is 5′ 8″ (5 feet 8 inches)</p>
<!-- Same examples using hexadecimal entities -->
<p>The temperature
range is −20°C to +30°C.</p>
<p>Copyright © 2025 Publisher’s Name</p>
<p>The distance is 5′ 8″ (5 feet 8 inches)</p>
1. Character identification
2. Entity mapping
3. Consistent replacement
4. Validation checking
5. Quality assurance
• Character mapping databases
• Automated conversion scripts
• Validation tools
• Quality control checkers
1. Entity syntax validation
2. Cross-platform rendering tests
3. Screen reader compatibility
4. Device testing
5. Automated validation tools
• EPUBCheck
• Custom entity validators
• Rendering test suites
• Screen reader testing tools
• Consistent use of mathematical operators
• Proper alignment with MathML
• Testing with scientific content readers
• Unicode blocks for different scripts
• Direction markers for bidirectional text
• Language-specific punctuation
• Unicode updates
• EPUB specification changes
• Reading system developments
• New device support
• Screen reader advancements
• Rendering engine updates
Using numbered entities consistently throughout EPUB files provides a reliable, maintainable, and technically sound approach to character encoding. The universal coverage and straightforward implementation make it an excellent choice for standardized publishing workflows.
• Unicode Code Charts
• EPUB Specifications
• W3C Character References
• Conversion Tool Documentation
• Unicode Converters
• Entity Validation Tools
• Automated Processing Scripts
• Testing Frameworks