|
ctype_print
Check for printable character(s)
(PHP 4 >= 4.0.4, PHP 5)
Example 422. A ctype_print() example<?php The above example will output: The string 'string1' does not consist of all printable characters. Code Examples / Notes » ctype_printflatline
It seems that this function does not recognize characters such as 'à', 'ä', 'ò', 'ë' as printable. Depends on your locale settings, in the default "C" locale they are indeed not printable as it is 7bit ASCII based. (hartmut) |