[haskeline] #108: encoding error on long UTF-8 paste

haskeline haskeline at projects.haskell.org
Tue May 25 15:45:15 EDT 2010


#108: encoding error on long UTF-8 paste
-------------------+--------------------------------------------------------
Reporter:  judah   |       Owner:     
    Type:  defect  |      Status:  new
Priority:  major   |   Milestone:     
 Version:  0.6     |    Keywords:     
-------------------+--------------------------------------------------------
 Pasting the following input (in a UTF-8 environment), including the
 trailing newline:
 {{{
 line
 4:1:ασδφαδφασφασδφσδφασφξασηδφασδκξφηασδκηφκξσδηφασδξφγδσγφηδσγφξκγδσξηφγαξδφηγακφξηγσφκξαησγδφξκηασδγφκξασδηγφκξαησδγφξασηδφγακσξδηφγασδκξηφγακδσξηφγαξκδσφγδσξηφγαδκσφηγκσξδηφγαξφησγδκφξαησγφκξαδσηφγξσδφηγαδσξφγαησδγφκξαησφγκαξσηδφγακσδξφηγασκξφηαγδφξκαηγσδκφξηαγξδφξα1:ασδφαδφασφασδφσδφασφξασηδφασδκξφηασδκηφκξσδηφασδξφγδσγφηδσγφξκγδσξηφγαξδφηγακφξηγσφκξαησγδφξκηασδγφκξασδηγφκξαησδγφξασηδφγακσξδηφγασδκξηφγακδσξηφγαξκδσφγδσξηφγαδκσφηγκσξδηφγαξφησγδκφξαησγφκξαδσηφγξσδφηγαδσξφγαησδγφκξαησφγκαξσηδφγακσδξφηγασκξφηαγδφξκαηγσδκφξηαγξδφξα

 }}}
 causes the following error:
 {{{
 <stdin>: hWaitForInput: invalid argument (Illegal byte sequence)
 }}}

 Additionally, the last character before the error is output as a '?'.

-- 
Ticket URL: <http://trac.haskell.org/haskeline/ticket/108>
haskeline <http://example.org/>
My example project


More information about the Haskeline mailing list