[Mono-bugs] [Bug 551615] Korean text (cp949) cannot be decoded

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 2 13:04:46 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=551615

User greg.smolyn at strangeloopnetworks.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=551615#c3





--- Comment #3 from Greg Smolyn <greg.smolyn at strangeloopnetworks.com>  2009-11-02 11:04:45 MST ---
Output of the program in Linux:

Module loaded: KoreanTest, Version=1.0.3593.17921, Culture=neutral,
PublicKeyToken=null.
Module loaded: I18N, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756.
Module loaded: I18N.CJK, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756.
offset: 0   length: 130
char bytes: 1   char:[
]
offset: 1   length: 129
char bytes: 1   char:[
]
offset: 2   length: 128
char bytes: 1   char:[<]
offset: 3   length: 127
char bytes: 1   char:[!]
offset: 4   length: 126
char bytes: 1   char:[-]
offset: 5   length: 125
char bytes: 1   char:[-]
offset: 6   length: 124
char bytes: 1   char:[ ]
offset: 7   length: 123
char bytes: 1   char:[G]
offset: 8   length: 122
char bytes: 1   char:[N]
offset: 9   length: 121
char bytes: 1   char:[B]
offset: 10   length: 120
char bytes: 1   char:[ ]
offset: 11   length: 119
char bytes: 3   char:[시]
offset: 14   length: 116
char bytes: 1   char:[작]
offset: 15   length: 115
char bytes: 1   char:[ ]
offset: 16   length: 114
char bytes: 1   char:[-]
offset: 17   length: 113
char bytes: 1   char:[-]
offset: 18   length: 112
char bytes: 1   char:[>]
offset: 19   length: 111
char bytes: 1   char:[
]
offset: 20   length: 110
char bytes: 1   char:[
]
offset: 21   length: 109
char bytes: 1   char:[
]
offset: 22   length: 108
char bytes: 1   char:[
]
offset: 23   length: 107
char bytes: 1   char:[<]
offset: 24   length: 106
char bytes: 1   char:[H]
offset: 25   length: 105
char bytes: 1   char:[T]
offset: 26   length: 104
char bytes: 1   char:[M]
offset: 27   length: 103
char bytes: 1   char:[L]
offset: 28   length: 102
char bytes: 1   char:[>]
offset: 29   length: 101
char bytes: 1   char:[<]
offset: 30   length: 100
char bytes: 1   char:[s]
offset: 31   length: 99
char bytes: 1   char:[c]
offset: 32   length: 98
char bytes: 1   char:[r]
offset: 33   length: 97
char bytes: 1   char:[i]
offset: 34   length: 96
char bytes: 1   char:[p]
offset: 35   length: 95
char bytes: 1   char:[t]
offset: 36   length: 94
char bytes: 1   char:[>]
offset: 37   length: 93
char bytes: 1   char:[v]
offset: 38   length: 92
char bytes: 1   char:[a]
offset: 39   length: 91
char bytes: 1   char:[r]
offset: 40   length: 90
char bytes: 1   char:[ ]
offset: 41   length: 89
char bytes: 1   char:[s]
offset: 42   length: 88
char bytes: 1   char:[l]
offset: 43   length: 87
char bytes: 1   char:[_]
offset: 44   length: 86
char bytes: 1   char:[b]
offset: 45   length: 85
char bytes: 1   char:[l]
offset: 46   length: 84
char bytes: 1   char:[B]
offset: 47   length: 83
char bytes: 1   char:[e]
offset: 48   length: 82
char bytes: 1   char:[g]
offset: 49   length: 81
char bytes: 1   char:[=]
offset: 50   length: 80
char bytes: 1   char:[n]
offset: 51   length: 79
char bytes: 1   char:[e]
offset: 52   length: 78
char bytes: 1   char:[w]
offset: 53   length: 77
char bytes: 1   char:[ ]
offset: 54   length: 76
char bytes: 1   char:[D]
offset: 55   length: 75
char bytes: 1   char:[a]
offset: 56   length: 74
char bytes: 1   char:[t]
offset: 57   length: 73
char bytes: 1   char:[e]
offset: 58   length: 72
char bytes: 1   char:[;]
offset: 59   length: 71
char bytes: 1   char:[<]
offset: 60   length: 70
char bytes: 1   char:[/]
offset: 61   length: 69
char bytes: 1   char:[s]
offset: 62   length: 68
char bytes: 1   char:[c]
offset: 63   length: 67
char bytes: 1   char:[r]
offset: 64   length: 66
char bytes: 1   char:[i]
offset: 65   length: 65
char bytes: 1   char:[p]
offset: 66   length: 64
char bytes: 1   char:[t]
offset: 67   length: 63
char bytes: 1   char:[>]
offset: 68   length: 62
char bytes: 1   char:[
]
offset: 69   length: 61
char bytes: 1   char:[
]
offset: 70   length: 60
char bytes: 1   char:[    ]
offset: 71   length: 59
char bytes: 1   char:[<]
offset: 72   length: 58
char bytes: 1   char:[H]
offset: 73   length: 57
char bytes: 1   char:[E]
offset: 74   length: 56
char bytes: 1   char:[A]
offset: 75   length: 55
char bytes: 1   char:[D]
offset: 76   length: 54
char bytes: 1   char:[>]
offset: 77   length: 53
char bytes: 1   char:[
]
offset: 78   length: 52
char bytes: 1   char:[
]
offset: 79   length: 51
char bytes: 1   char:[    ]
offset: 80   length: 50
char bytes: 1   char:[    ]
offset: 81   length: 49
char bytes: 1   char:[<]
offset: 82   length: 48
char bytes: 1   char:[t]
offset: 83   length: 47
char bytes: 1   char:[i]
offset: 84   length: 46
char bytes: 1   char:[t]
offset: 85   length: 45
char bytes: 1   char:[l]
offset: 86   length: 44
char bytes: 1   char:[e]
offset: 87   length: 43
char bytes: 1   char:[>]
offset: 88   length: 42
char bytes: 1   char:[Y]
offset: 89   length: 41
char bytes: 1   char:[E]
offset: 90   length: 40
char bytes: 1   char:[S]
offset: 91   length: 39
char bytes: 1   char:[2]
offset: 92   length: 38
char bytes: 1   char:[4]
offset: 93   length: 37
char bytes: 1   char:[ ]
offset: 94   length: 36
char bytes: 1   char:[-]
offset: 95   length: 35
char bytes: 2   char:[ ]
offset: 97   length: 33
char bytes: 2   char:[대]
offset: 99   length: 31
char bytes: 1   char:[한]
offset: 100   length: 30
char bytes: 3   char:[민]
offset: 103   length: 27

Unhandled Exception: System.IndexOutOfRangeException: Array index is out of
range.
  at I18N.CJK.KoreanEncoding+KoreanDecoder.GetChars (System.Byte[] bytes, Int32
byteIndex, Int32 byteCount, System.Char[] chars, Int32 charIndex, Boolean
refresh) [0x00048] in
/home/smolyn/src/mono/mono-2.6/mcs/class/I18N/CJK/CP949.cs:328 
  at System.Text.Decoder.Convert (System.Byte[] bytes, Int32 byteIndex, Int32
byteCount, System.Char[] chars, Int32 charIndex, Int32 charCount, Boolean
flush, System.Int32& bytesUsed, System.Int32& charsUsed, System.Boolean&
completed) [0x00070] in
/home/smolyn/src/mono/mono-2.6/mcs/class/corlib/System.Text/Decoder.cs:170 
  at KoreanTest.MainClass.Main (System.String[] args) [0x00087] in
/home/strangeloop/KoreanTest/Main.cs:28 

Thread 3 exited.

Thread 2 exited.

Thread 1 exited.

Process 1 exited.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list