thisismynewname / isemail

Automatically exported from code.google.com/p/isemail
0 stars 0 forks source link

Use chr() instead of Unicode inside PHP script #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
As little correction I would not include any Unicode characters into a PHP 
file. In my opinion a PHP file should be ASCII only, so that all kinds of 
editors can handle it. So, instead of writing the "Fake-NUL" character, I would 
instead use chr(2400).

Original issue reported on code.google.com by danielma...@googlemail.com on 12 Sep 2010 at 10:50

GoogleCodeExporter commented 8 years ago
chr() can only handle ASCII characters so I've used mb_convert_encoding to 
convert from HTML ␀ to UTF-8

Original comment by dominic....@gmail.com on 13 Sep 2010 at 10:18