Bug #2587 Updated: maybe.. exec function has some problem
| From: | Bug Database | Date: | Mon, 06 Mar 2000 15:50:14 +0000 |
| Subject: | Bug #2587 Updated: maybe.. exec function has some problem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16449@lists.php.net to get a copy of this message | ||
ID: 2587
Updated by: hholzgra
Reported By: chul80@icm.re.kr
Status: Feedback
Bug Type: Misbehaving function
Assigned To:
Comments:
exec() cuts of trailing whitespace characters
from received output lines
it does so by using the isspace() C-function
so it will cut off any formfeed (0x0C), linefeed (0x0A),
carriage return (0x0D), vertical (0x09) and horizontal
(0x0B) tab characters, and of course space (0x20) itself
when using the default "C" locale
i don't know enough about locales in general and
especially multibyte characters in special, but this
might be the source source of the problem ?
Full Bug description available at: http://bugs.php.net/?id=2587