[Issue 2040] New: Add codepage handling to core library

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 26 11:46:40 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2040

           Summary: Add codepage handling to core library
           Product: D
           Version: 2.012
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: jlquinn at optonline.net


I need to deal with non-unicode docs a lot.  The current D library makes this
unpleasant; either I need to track down and use iconv + D wrapper or code up
the conversions myself.

While I applaud the choice to make everything in D unicode, the real world is
still out there.  As a systems language especially, D should have the
facilities to handle other codepage input and output natively.  Java includes
these abilities well-integrated with the IO package.  D should do this as well.

Perhaps this code might belong to std.utf.  Or perhaps there should be a deeper
package hierarchy, like std.text.convert.


-- 



More information about the Digitalmars-d-bugs mailing list