codeq / unicodenormalizer
Normalize unicode form
Installs: 48 868
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 2
Open Issues: 0
Type:neos-package
Requires
- ext-intl: *
- neos/flow: 4 - 8 || dev-master
Requires (Dev)
- roave/security-advisories: dev-latest
README
This Neos package normalizes Unicode characters, often causing issues when copying text from PDFs into the Neos backend and then viewing it in IE/Edge.
Requirements
Your PHP version must include the PECL intl >= 1.0.0 extension, which is included by default. We are using the PHP Normalizer
Usage
-
Install with
composer require codeq/unicodenormalizer
-
Wrap any object with processor to normalize its output, e.g. you would probably want to normalize full page output like this:
prototype(Page).@process.normalize = CodeQ.UnicodeNormalizer:Normalizer