|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[1998-02-03 02:29 UTC] tomo at arts dot box dot co dot jp
hi. I found base64_encode() couldn't work with 8-bits data string.
I guess it is because base64_encode() in function/base64.c is using 'char*' instead of 'unsigned char*'.
in function/base64.c:64
>char *base64_encode(const char *string) {
> const char *current = string;
^^^^---> unsigned char
bye.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 22:00:01 2025 UTC |
Fixed in base64.c: $Id: base64.c,v 1.16 1998/02/06 10:22:50 ssb Exp $ base64.h: $Id: base64.h,v 1.7 1998/02/06 10:22:50 ssb Exp $