Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56382 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11618 invoked from network); 18 Nov 2011 05:10:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Nov 2011 05:10:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.170 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-vx0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:49385] helo=mail-vx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/70-06569-4B8E5CE4 for ; Fri, 18 Nov 2011 00:10:12 -0500 Received: by vcbfl10 with SMTP id fl10so3090558vcb.29 for ; Thu, 17 Nov 2011 21:10:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type:content-transfer-encoding; bh=WTTfHI4TmzKLyQPkhmrsdjB/ARG6VHLhm3r8qNn6xG0=; b=tLSj+ZvrVMloxAyENVJd3egM9jxYK+LdphmZT+P4UjrhYiytSypO/HqVJ2YMCiYdlm JsG7pjwpB/Oz3HxCjRNOZYj68zYXK1qvuW4T1MX89/n2ky9TWYPMpdQB7H7zRsRwaVZS YWc2OFMb91BULhyRrAFEjbyL4ya9j+6msFU4o= Received: by 10.52.100.106 with SMTP id ex10mr704962vdb.28.1321593009080; Thu, 17 Nov 2011 21:10:09 -0800 (PST) MIME-Version: 1.0 Sender: laruence@gmail.com Received: by 10.220.150.211 with HTTP; Thu, 17 Nov 2011 21:09:48 -0800 (PST) Date: Fri, 18 Nov 2011 13:09:48 +0800 X-Google-Sender-Auth: 8zLL_NHc2wTmLdtOKowmG5W6oms Message-ID: To: PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Character lost while convert from cp936 to utf-8 using mb_convert_encoding From: laruence@php.net (Laruence) Hi: I have filed a bug about this issue: https://bugs.php.net/bug.php?id=3D6= 0306 following script: save the script in fenc=3Dcp936 then, run the script in php5.4 , output is : string(3) "=E6=B4=AA" string(6) "=E6=B4=AA=E4=BB=81" characters lost while converting from cp936 to utf8. this is really a big problem..... thanks --=20 Laruence =C2=A0Xinchen Hui http://www.laruence.com/