[PHP-DEV] Bug #2587 Updated: maybe.. exec function has some problem From: Bug Database (php-dev <email protected>)
Date: 03/06/00

ID: 2587
Updated by: hholzgra
Reported By: chul80 <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>