voku
Member
- Local time
- 14:49
- Joined
- Oct 9, 2019
- Messages
- 4
Hi, since some evenings I try to polyfill the "Transliterator"-class from php, so that we can convert text in e.g. ASCII more easily.
code: voku/polyfill (src/Intl/Transliterator/Transliterator.php)
test: tests/Intl/Transliterator/TransliteratorTest.php
demo: https://unicode.org/cldr/utility/transform.jsp
If someone are interested in over-complicated syntax and strange characters, please add some more test cases into "TransliteratorTest.php".