Edit report at https://bugs.php.net/bug.php?id=64149&edit=1

 ID:               64149
 Updated by:       php-bugs@lists.php.net
 Reported by:      mukarami dot kazuo at jp dot fujitsu dot com
 Summary:          Multi-byte char contains 0x5C as second byte causes
                   syntax error
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          mbstring related
 Operating System: windows7 professional 32bit
 PHP Version:      5.4.11

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2013-02-05 04:00:09] ras...@php.net

0x5C is a low-ascii \ which is likely the source of this problem.
In your php.ini file try adding:

zend.script_encoding= "Shift-JIS"

And let us know if that fixes your problem.

------------------------------------------------------------------------
[2013-02-05 03:34:30] mukarami dot kazuo at jp dot fujitsu dot com

Description:
------------
Multi-byte character contains 0x5C as second byte causes syntax error at
Literal constant value.
Japanese Shift-Jis Code 42 Characters contain 0x5C as second byte.
for example Jananese-character 0x95,0x5C means  word "table".

print("X"); causes syntax error. (X is 0x95,0x5c)

however
 print(trim("X ")); not causes syntax error.
 


Test script:
---------------
can not write literal constant value in Japanaese character 
to this farme.

print("X");

X is multi-byte character contains  0x95 and 0x5C 



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



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

Reply via email to