We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86a13f5 commit fc19b73Copy full SHA for fc19b73
lib/src/grammar.peg
@@ -1,9 +1,9 @@
1
%{
2
import 'dart:core';
3
- import 'constants.dart';
4
- import 'uri.dart';
5
- import 'name_addr_header.dart';
+ import 'dart:convert';
6
import 'data.dart';
+ import 'name_addr_header.dart';
+ import 'uri.dart';
7
8
}%
9
@@ -305,7 +305,11 @@ TEXT_UTF8_TRIM <- TEXT_UTF8char+ ( LWS* TEXT_UTF8char)* {
305
306
TEXT_UTF8char <- [\x21-\x7E] / UTF8_NONASCII
307
308
-UTF8_NONASCII <- [\u0080-\uFFFF]
+UTF8_NONASCII <- [\xC0-\xDF] UTF8_CONT
309
+ / [\xE0-\xEF] UTF8_CONT UTF8_CONT
310
+ / [\xF0-\xF7] UTF8_CONT UTF8_CONT UTF8_CONT
311
+ / [\xF8-\xFb] UTF8_CONT UTF8_CONT UTF8_CONT UTF8_CONT
312
+ / [\xFC-\xFD] UTF8_CONT UTF8_CONT UTF8_CONT UTF8_CONT UTF8_CONT
313
314
UTF8_CONT <- [\x80-\xBF]
315
0 commit comments