www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2335] New: Message on unicode error

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2335

           Summary: Message on unicode error
           Product: D
           Version: 1.033
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: benoit tionex.de


on an uncaught unicode error, the message is printed to the console:
Error: 4invalid UTF-8 sequence

The '4' seems wrong.
See std/utf.d line 345


-- 
Sep 03 2008
next sibling parent "Jarrett Billingsley" <jarrett.billingsley gmail.com> writes:
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Wed, Sep 3, 2008 at 6:47 PM, <d-bugmail puremagic.com> wrote:

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

           Summary: Message on unicode error
           Product: D
           Version: 1.033
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: benoit tionex.de


 on an uncaught unicode error, the message is printed to the console:
 Error: 4invalid UTF-8 sequence

 The '4' seems wrong.
 See std/utf.d line 345


 --

3invalid versions of the same error. It's probably just so the cause can be distinguished, or a remnant of Walter debugging that function.
Sep 03 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2335





------- Comment #1 from benoit tionex.de  2008-09-04 03:18 -------
then change to 
Error: invalid UTF-8 sequence in decode(char[],int)
Error: invalid UTF-8 sequence in file utf.d line 435
Error: invalid UTF-8 sequence (4)

But 4invalid looks like an error in generating the error.


-- 
Sep 04 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2335


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich gmail.com
         Resolution|                            |FIXED


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2011-05-24
22:36:22 PDT ---
It's been fixed, can't find "4invalid".

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 24 2011
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2335


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

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


--- Comment #3 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2011-05-25
07:19:39 PDT ---
Fixing my closing mistakes. Sorry for the noise.

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