[nem-bug] [Nemerle 0000988]: Using System.Console.ReadLine can not get not English letters

feedback at nemerle.org feedback at nemerle.org
Fri Apr 13 22:17:40 CEST 2007


A NOTE has been added to this issue.
======================================================================
<http://nemerle.org/bugs/view.php?id=988> 
======================================================================
Reported By:                Evgeniy
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   988
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             04-13-2007 21:52 CEST
Last Modified:              04-13-2007 22:17 CEST
======================================================================
Summary:                    Using System.Console.ReadLine can not get not
English letters
Description: 
>cat i18n.n
module i18n {
    Main(): void {
        _ = System.Console.ReadLine();
    }
}

consider such example,
if launch it, if I try enter Russian letter it will show garbage:

>ncc i18n.n -out:i18n.exe && mono i18n.exe 
авÑ

(Hope this kind of bugzilla support unicode).

On the same machine:
>cat i18n.cs 
public class i18n {
        public static void Main(string[] argv) {
                System.Console.ReadLine();
        }
}
>mcs i18n.cs -out:i18ncs.exe && mono i18ncs.exe
&http://nemerle.org/bugs/view.php?id=1072;&http://nemerle.org/bugs/view.php?id=1074;&http://nemerle.org/bugs/view.php?id=1092;&http://nemerle.org/bugs/view.php?id=1072;&http://nemerle.org/bugs/view.php?id=1074;&http://nemerle.org/bugs/view.php?id=1092;&http://nemerle.org/bugs/view.php?id=1072;&http://nemerle.org/bugs/view.php?id=1099;
======================================================================

----------------------------------------------------------------------
 Evgeniy - 04-13-07 22:12 
----------------------------------------------------------------------
Sorry, this looks like bug of mono:
if compile C# with gmcs it will have the same problem as ncc.

----------------------------------------------------------------------
 nazgul - 04-13-07 22:17 
----------------------------------------------------------------------
Heh, strange bug indeed, will you report it to mono team?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
04-13-07 21:52 Evgeniy        New Issue                                    
04-13-07 21:52 Evgeniy        Issue Monitored: Evgeniy                     
04-13-07 22:12 Evgeniy        Note Added: 0001842                          
04-13-07 22:17 nazgul         Note Added: 0001843                          
======================================================================




More information about the bugs mailing list