Wordpress/tests/phpunit/data/formatting/utf-8
Jonathan Desrosiers d376fedd89 Ensure svn:eol-style is consistently set for all files.
See #42594.

git-svn-id: https://develop.svn.wordpress.org/trunk@46586 602fd350-edb4-49c9-b593-d223f7449a82
2019-10-25 16:36:41 +00:00
..
README
urlencode.py Ensure svn:eol-style is consistently set for all files. 2019-10-25 16:36:41 +00:00
urlencoded.txt Add emoji URL support, and Twemoji fallback for displaying slugs in wp-admin, when the browser doesn't natively support emoji. 2015-03-11 22:54:49 +00:00
utf-8.txt Add emoji URL support, and Twemoji fallback for displaying slugs in wp-admin, when the browser doesn't natively support emoji. 2015-03-11 22:54:49 +00:00

The Python scripts are for generating test data, because Python's Unicode
support is much, much, much, much better than PHP's.

 * `utf-8/urlencode.py`, `utf-8/u-urlencode.py` and `utf-8/entitize.py` process UTF-8
   into a few different formats (%-encoding, %u-encoding, &#decimal;)
   and are used like normal UNIXy pipes.

   Try:

   `python urlencode.py < utf-8.txt > urlencoded.txt`
   `python u-urlencode.py < utf-8.txt > u-urlencoded.txt`
   `python entitize.py < utf-8.txt > entitized.txt`

  * `windows-1252.py` converts Windows-only smart-quotes and things
    into their unicode &#decimal reference; equivalents.