|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-07-23 09:14 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 19:00:02 2025 UTC |
Description: ------------ If the document itself is saved in Shift_JIS and the kanji for talent (nou) 能 is used at the end of a string then you get all kind of compile errors. But if you put any character after this kanji, then the compile succeeds. Reproduce code: --------------- <? header("Content-type: text/html; charset=ShiftJIS"); $var = '能'; echo $var.'<br>'; ?> Actual result: -------------- Parse error: syntax error, unexpected '>' in kanji_test_1.php on line 5