Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: dart/sdk/lib/convert/utf.dart

Issue 64033002: Version 0.8.10.8 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « dart/sdk/lib/_internal/lib/js_mirrors.dart ('k') | dart/sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart.convert; 5 part of dart.convert;
6 6
7 /** The Unicode Replacement character `U+FFFD` (�). */ 7 /** The Unicode Replacement character `U+FFFD` (�). */
8 const UNICODE_REPLACEMENT_CHARACTER_RUNE = 0xFFFD; 8 const int UNICODE_REPLACEMENT_CHARACTER_RUNE = 0xFFFD;
9 9
10 /** The Unicode Byte Order Marker (BOM) character `U+FEFF`. */ 10 /** The Unicode Byte Order Marker (BOM) character `U+FEFF`. */
11 const UNICODE_BOM_CHARACTER_RUNE = 0xFEFF; 11 const int UNICODE_BOM_CHARACTER_RUNE = 0xFEFF;
12 12
13 /** 13 /**
14 * An instance of the default implementation of the [Utf8Codec]. 14 * An instance of the default implementation of the [Utf8Codec].
15 * 15 *
16 * This instance provides a convenient access to the most common UTF-8 16 * This instance provides a convenient access to the most common UTF-8
17 * use cases. 17 * use cases.
18 * 18 *
19 * Examples: 19 * Examples:
20 * 20 *
21 * var encoded = UTF8.encode("Îñţérñåţîöñåļîžåţîờñ"); 21 * var encoded = UTF8.encode("Îñţérñåţîöñåļîžåţîờñ");
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 } 513 }
514 break loop; 514 break loop;
515 } 515 }
516 if (expectedUnits > 0) { 516 if (expectedUnits > 0) {
517 _value = value; 517 _value = value;
518 _expectedUnits = expectedUnits; 518 _expectedUnits = expectedUnits;
519 _extraUnits = extraUnits; 519 _extraUnits = extraUnits;
520 } 520 }
521 } 521 }
522 } 522 }
OLDNEW
« no previous file with comments | « dart/sdk/lib/_internal/lib/js_mirrors.dart ('k') | dart/sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698