FLUTTER ECOSYSTEM

html_character_entities

A utility class containing maps of every HTML 4.01 character entity, including ASCII and hex codes, and methods to encode/decode strings with those character entities.

Latest version
1.0.0+1
30-day downloads
43
Likes
21
Pub points
150

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

A Flutter/Dart utility package that provides comprehensive mappings of HTML 4.01 character entities, including ASCII and hexadecimal codes. It offers methods to encode and decode strings using these entities, ensuring accurate handling of special characters in web content. Ideal for developers working with HTML text processing, rendering, or data interchange where character encoding precision is critical. The package supports all major platforms and is maintained with clear source code access.

Use cases
  • Rendering HTML content with special characters
  • Converting text between plain and encoded formats
  • Handling legacy HTML data
  • Sanitizing user input for web output
  • Preserving formatting in text exports
Key features
  • Complete HTML 4.01 entity mapping
  • Support for ASCII and hex codes
  • Encode/decode string utilities
  • Cross-platform compatibility
  • Open-source and well-documented
  • Easy integration via pub
Suitable for
  • Web developers using Flutter
  • Content rendering applications
  • Text processing tools
  • Legacy system integrations
  • Educational projects on HTML encoding
Considerations
  • Limited to HTML 4.01 standards
  • No support for HTML5-specific entities
  • Requires manual handling of malformed inputs
  • Not optimized for high-frequency encoding scenarios
  • Depends on external maintenance of entity lists
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add html_character_entities

Categories

Source repository

Related projects