-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#27013Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: qualityA truly polished experienceA truly polished experiencee: web_canvaskitCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for WebCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for Webengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.found in release: 2.1Found to occur in 2.1Found to occur in 2.1has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyWeb applications specifically
Description
As shown in the screenshot below:
class MyHomePage extends StatelessWidget {
final emoji = '👌🏾'; // from MacOS
final emoji2 = '👋🏾'; // from Twitter
// final emoji3 = '👌🏾'; // from Twitter throws error: 'Illegal character '55356'.'
@override
Widget build(BuildContext context) {
print('$emoji code Units: ${emoji.codeUnits} runes: ${emoji.runes}');
// prints 👌🏾 code Units: [55357, 56396, 55356, 57342] runes: (128076, 127998)
print('$emoji2 code Units: ${emoji2.codeUnits} runes: ${emoji2.runes}');
// prints 👋🏾 code Units: [55357, 56395, 55356, 57342] runes: (128075, 127998)
return Scaffold(
appBar: AppBar(),
body: Center(
child: Text(
'$emoji \n $emoji2',
style: TextStyle(fontSize: 24.0),
),
),
);
}
}
This behavior can be observed in Flutter Web, and also can be seen in DartPad (Based on Flutter 2.0.3 Dart SDK 2.12.2).
devxpy, wilsonowilson and MilanObrenovic
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: qualityA truly polished experienceA truly polished experiencee: web_canvaskitCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for WebCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for Webengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.found in release: 2.1Found to occur in 2.1Found to occur in 2.1has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyWeb applications specifically
