diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-06-18 14:08:32 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-06-18 14:10:45 -0600 |
commit | d98532ea8ab5685c2884f540fd890ca6efb50d94 (patch) | |
tree | 5429e7a7905158d8acee29dcac5d6306521161f5 /handy.h | |
parent | de36fb2e712ebd31d1934fd523ca0cdeaa394b78 (diff) | |
download | perl-d98532ea8ab5685c2884f540fd890ca6efb50d94.tar.gz |
perlapi: Add note to isASCII
Diffstat (limited to 'handy.h')
-rw-r--r-- | handy.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -551,6 +551,12 @@ C<isASCII_LC_utf8>. Note, however, that some platforms do not have the C library routine C<isascii()>. In these cases, the variants whose names contain C<LC> are the same as the corresponding ones without. +Also note, that because all ASCII characters are UTF-8 invariant (meaning they +have the exact same representation (always a single byte) whether encoded in +UTF-8 or not), C<isASCII> will give the correct results when called with any +byte in any string encoded or not in UTF-8. And similarly C<isASCII_utf8> will +work properly on any string encoded or not in UTF-8. + =for apidoc Am|bool|isBLANK|char ch Returns a boolean indicating whether the specified character is a character considered to be a blank, analogous to C<m/[[:blank:]]/>. |