#49438 [Opn->Bgs]: openssl_sign,why the results are different between 'gbk' and 'utf-8'.

From: Date: Wed, 02 Sep 2009 19:27:30 +0000
Subject: #49438 [Opn->Bgs]: openssl_sign,why the results are different between 'gbk' and 'utf-8'.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-141874@lists.php.net to get a copy of this message
ID: 49438 Updated by: jani@php.net Reported By: gaoc at guoli dot com -Status: Open +Status: Bogus Bug Type: OpenSSL related Operating System: windows PHP Version: 5.3.0 New Comment: Because the data is different. Not enough info, invalid reproduce code. Bogus. Previous Comments: ------------------------------------------------------------------------ [2009-09-02 05:56:06] gaoc at guoli dot com Description: ------------ openssl_sign($data,$sig,$privatekey); the data is from gkb '°¡' and utf-8 '°¡'! buy why the results are different between 'gbk' and 'utf-8'. Reproduce code: --------------- --- From manual page: function.openssl-sign --- ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49438&edit=1

« previous php.bugs (#141874) next »