| Index: sdk/lib/_internal/pub/lib/src/io.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/io.dart b/sdk/lib/_internal/pub/lib/src/io.dart
|
| index 5847fedfed3bc277ab3ac5d8ab6e171e10169bef..0bd5c1420183bd13bae560a16622fe9c26185175 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/io.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/io.dart
|
| @@ -7,6 +7,7 @@ library pub.io;
|
|
|
| import 'dart:async';
|
| import 'dart:collection';
|
| +import 'dart:convert';
|
| import 'dart:io';
|
|
|
| import 'package:path/path.dart' as path;
|
| @@ -136,7 +137,7 @@ String resolveLink(String link) {
|
|
|
| /// Reads the contents of the text file [file].
|
| String readTextFile(String file) =>
|
| - new File(file).readAsStringSync(encoding: Encoding.UTF_8);
|
| + new File(file).readAsStringSync(encoding: UTF8);
|
|
|
| /// Reads the contents of the binary file [file].
|
| List<int> readBinaryFile(String file) {
|
|
|