Commit f296db8
authored
wayland: text input protocol uses UTF-8 encoding (#415)
* wayland: text input protocol uses UTF-8 encoding The Wayland text input protocol sends text in UTF-8 encoding, but the Flutter TextInputModel expects UTF-16. This adds the missing conversion from UTF-8 to UTF-16. Signed-off-by: Sebastian Urban <surban@surban.net> * Add Sebastian Urban to AUTHORS --------- Signed-off-by: Sebastian Urban <surban@surban.net>1 parent a73994f commit f296db8
File tree
2 files changed
+15
-3
lines changed- src/flutter/shell/platform/linux_embedded/window
2 files changed
+15
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
748 | 750 | | |
749 | 751 | | |
750 | 752 | | |
751 | | - | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
752 | 757 | | |
753 | 758 | | |
754 | 759 | | |
| |||
779 | 784 | | |
780 | 785 | | |
781 | 786 | | |
782 | | - | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
783 | 791 | | |
784 | 792 | | |
785 | 793 | | |
| |||
895 | 903 | | |
896 | 904 | | |
897 | 905 | | |
898 | | - | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
899 | 910 | | |
900 | 911 | | |
901 | 912 | | |
| |||
0 commit comments