Bug #13112 Updated: problems writing files when PHP is run from command line
ID: 13112
Updated by: sniper
Reported By: hugo@mni.pt
Old Status: Feedback
Status: Closed
Bug Type: Filesystem function related
Operating System: windows
PHP Version: 4.0.6
New Comment:
No feedback, not enough information.
Previous Comments:
------------------------------------------------------------------------
[2001-09-03 13:40:45] mfischer@php.net
With which application do you view the file?
Try redirecting stdout to a file and see if you can see the accented characters.
php -f yourscript.php >output
Awaiting feedback.
- Markus
------------------------------------------------------------------------
[2001-09-03 12:27:12] hugo@mni.pt
There is a problem when i use PHP as a command script.
When i write some string with accented chars to the screen it is ok, but when i write the same
string into a file the accents don't show and are changed by other Chars.
When i run the same script by the browser i don't get any problem.
Is this a PHP problem or a character map of my computer?
Thank you.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13112&edit=1
Thread (4 messages)