Fix parsing

- Changed 8-bit encoding to HTML entities
- Illegal subscripted modifiers converted to standard modifiers with same semantics