Module encoding

Module encoding 

Source
Expand description

Text encoding error utilities for ASS-RS

Provides specialized error creation and validation functions for text encoding issues including UTF-8 validation, encoding detection, and character conversion errors. Focuses on providing detailed context.

Functionsยง

utf8_error
Create UTF-8 encoding error with position information
validate_ass_text_content
Validate text contains only valid ASS characters
validate_bom_handling
Validate BOM (Byte Order Mark) handling
validate_utf8_detailed
Validate UTF-8 with detailed error reporting
validation_error
Create validation error for text content