Changeset 226:53c57b061fd9
- Timestamp:
- 05/19/08 16:28:57
(8 months ago)
- Author:
- Frank Benoit <benoit@tionex.de>
- branch:
- default
- Message:
verbose output on utf8 error
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r224 |
r226 |
|
| 22 | 22 | import tango.text.UnicodeData; |
|---|
| 23 | 23 | static import tango.util.collection.model.Seq; |
|---|
| 24 | | // static import tango.util.collection.ArraySeq; |
|---|
| 25 | | // static import tango.util.collection.LinkSeq; |
|---|
| 26 | | // static import tango.util.collection.model.Map; |
|---|
| 27 | | // static import tango.util.collection.HashMap; |
|---|
| 28 | | // |
|---|
| 29 | | // alias tango.util.collection.model.Seq.Seq!(Object) List; |
|---|
| 30 | | // alias tango.util.collection.ArraySeq.ArraySeq!(Object) ArrayList; |
|---|
| 31 | | // alias tango.util.collection.LinkSeq.LinkSeq!(Object) LinkList; |
|---|
| 32 | | // alias tango.util.collection.model.Map.Map!(Object,Object) Map; |
|---|
| 33 | | // alias tango.util.collection.HashMap.HashMap!(Object,Object) HashMap; |
|---|
| 34 | 24 | |
|---|
| 35 | 25 | alias char[] String; |
|---|
| … | … | |
| 444 | 434 | } |
|---|
| 445 | 435 | else{ |
|---|
| | 436 | Trace.formatln( "invalid utf8 characters: {:X2}", cast(ubyte[]) str ); |
|---|
| 446 | 437 | tango.text.convert.Utf.onUnicodeError( "invalid utf8 input", i ); |
|---|
| 447 | 438 | } |
|---|