| Index: pkg/analyzer/lib/src/summary/builder.dart
|
| diff --git a/pkg/analyzer/lib/src/summary/builder.dart b/pkg/analyzer/lib/src/summary/builder.dart
|
| index e88004a19db9679787321132a264e6dd89eaad1a..5f8965ce11773c0e3a4a66b4a18a07f444e9f508 100644
|
| --- a/pkg/analyzer/lib/src/summary/builder.dart
|
| +++ b/pkg/analyzer/lib/src/summary/builder.dart
|
| @@ -22,6 +22,6 @@ class BuilderContext {
|
| * serialized form as a buffer.
|
| */
|
| List<int> getBuffer(Object ref) {
|
| - return JSON.encode(ref).codeUnits;
|
| + return UTF8.encode(JSON.encode(ref));
|
| }
|
| }
|
|
|