Bug 17005 – redesign std.encoding

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2016-12-22T16:26:42Z
Last change time
2024-12-01T16:28:36Z
Assigned to
No Owner
Creator
Seb
Moved to GitHub: phobos#10216 →

Comments

Comment #0 by greeenify — 2016-12-22T16:26:42Z
std.encoding needs a complete overhaul. Other encoding packages as std.ascii, std.base64, std.utf8 could be included and a common API should unite them. This new package could include a comprehensive set of encoder, covering (in addition to base64 and utf8) all the baseXX encoders, since they are easy addition (base16, base32, z85) and also domain specific encoders such as percent encoding (which then could be used in any replacement of the old-fashioned and incomplete std.uri module) or variable length quantity. For base32, there's already this package in the wild: https://github.com/e10s/d-base32
Comment #1 by robert.schadek — 2024-12-01T16:28:36Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10216 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB