Bug 3103 – std.base64 should use ubyte[] for binary data
Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D1 (retired)
Platform
All
OS
All
Creation time
2009-06-29T08:40:00Z
Last change time
2012-02-18T03:03:40Z
Assigned to
nobody
Creator
gareth
Comments
Comment #0 by gareth — 2009-06-29T08:40:34Z
std.base64 should use ubyte[] not char[] for binary data - since char[] is for unicode.
Comment #1 by dlang-bugzilla — 2012-02-18T03:03:40Z
Phobos2's std.base64 was rewritten in 2010 by Masahiro Nakagawa. The new version doesn't have this problem.
Fixing this in Phobos1 would be a breaking change. I think we can close this bug.