Thread overview
[Issue 978] New: std.utf's toUTF* functions accept some invalid and reject some valid UTF
Feb 17, 2007
d-bugmail
Feb 17, 2007
d-bugmail
Feb 17, 2007
d-bugmail
Jun 24, 2010
Shin Fujishiro
February 17, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=978

           Summary: std.utf's toUTF* functions accept some invalid and
                    reject some valid UTF
           Product: D
           Version: 1.006
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: deewiant@gmail.com


Attached is a UTF conversion testing module and its output when used with Phobos's std.utf.toUTF* functions.

I only tested the toUTF* functions, but I would expect some of the problems to be present with the others as well.


-- 

February 17, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=978





------- Comment #1 from deewiant@gmail.com  2007-02-17 09:10 -------
Created an attachment (id=102)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=102&action=view)
UTF conversion testing module


-- 

February 17, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=978





------- Comment #2 from deewiant@gmail.com  2007-02-17 09:11 -------
Created an attachment (id=103)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=103&action=view)
Testing module results for Phobos with DMD 1.006


-- 

October 11, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=978


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |andrei@metalanguage.com
         AssignedTo|nobody@puremagic.com        |andrei@metalanguage.com


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 24, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=978


Shin Fujishiro <rsinfu@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


--- Comment #3 from Shin Fujishiro <rsinfu@gmail.com> 2010-06-23 17:50:22 PDT ---
Comitted a fix to svn.  The bug will be fixed in release 1.063 and 2.048.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------