|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-12-08 08:36 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 15 11:00:01 2025 UTC |
Description: ------------ When I tried to use addslashes() function before store data into the database for the following string and the string was encoded as Shift_JIS that was broken. 紹介予定派遣 Except that string there are some other characters also show mojibake too. Best regard Taslim Sohel Reproduce code: --------------- echo addslashes('紹介予定派遣'); Expected result: ---------------- 紹介予\定派遣 Actual result: -------------- 紹介予定派遣