ID:               42438
 User updated by:  perching_eagle at yahoo dot com
 Reported By:      perching_eagle at yahoo dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Scripting Engine problem
 Operating System: windows xp
 PHP Version:      5.2.3
 New Comment:

i followed your advice, set display_errors to On and error_reporting to
E_ALL, it didn't do much help but when i set the error_reporting to
E_ALL & E_STRICT the japanese characters disappeared from the output of
my code when using a php editor (i use php designer), however nothing
changed when i tried display my output on a browser window using apache
httpd. i also noticed some comments or non-directives in the php ini
file, that were not properly "commented" with ";" and correcting them
still didn't help. 

i also think that in the window edition of php 5.2.3 download, 
mb_string language was set to japanese by default, even for english
language speakers, and those japanese characters dumped on the output
screen from my code, could be error messages automatically translated
into japanese.


Previous Comments:
------------------------------------------------------------------------

[2007-08-28 11:19:54] [EMAIL PROTECTED]

Try rewriting those files of yours from scratch and set error_reporting
to E_ALL and display_errors=On in your php.ini..

------------------------------------------------------------------------

[2007-08-28 11:18:33] [EMAIL PROTECTED]

Perhaps the reason it works for me is that I don't bother using Windows
but a working OS instead. Linux. :)

------------------------------------------------------------------------

[2007-08-28 00:41:16] perching_eagle at yahoo dot com

i tried the new extension in your post and it didn't help. 
one question?

did you try saving the two classes in seperate files?

that is when the problem arises, i even notice that by importing dummy
php files created similar results, the characters that are dumped on the
screen looks a lot like japanese characters.

------------------------------------------------------------------------

[2007-08-27 08:43:52] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi

I can't reproduce this. (I get the expected result..)

------------------------------------------------------------------------

[2007-08-27 08:41:46] perching_eagle at yahoo dot com

actual output:

surname=$name; } }
?>䘊瑡污攠牲牯›汃獡⁳䘧瑡敨❲渠瑯映畯摮椠㩃䑜捯浵湥獴愠摮匠瑥楴杮屳潹業猠獯湡慹䑜獥瑫灯睜牯敢据屨桰⁰楦敬屳灾灨敤楳湧牥潟瑵異彴浴⹰桰⁰湯氠湩⁥ਲ਼

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/42438

-- 
Edit this bug report at http://bugs.php.net/?id=42438&edit=1

Reply via email to