Bug #64149 [Fbk->NoF]: Multi-byte char contains 0x5C as second byte causes syntax error
| From: | php-bugs at lists dot php dot net | Date: | Mon, 18 Feb 2013 00:36:14 +0000 |
| Subject: | Bug #64149 [Fbk->NoF]: Multi-byte char contains 0x5C as second byte causes syntax error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-177156@lists.php.net to get a copy of this message | ||
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] rasmus@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