Created with <3 with dartpad.dev.
Created
May 26, 2023 18:01
-
-
Save benjumanji/84ff5d7e7f39900cde674f9a89376b91 to your computer and use it in GitHub Desktop.
cylindrical-nebula-3857
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:typed_data'; | |
import 'dart:convert'; | |
void main() { | |
var p = Uint8List.fromList([ | |
0x42, 0x65, 0x6e, 0xe2, 0x80, 0x99, 0x73, 0x20, 0x49, 0x70, 0x68, 0x6f, 0x6e, 0x65 | |
]); | |
print(String.fromCharCodes(p)); | |
print(utf8.decode(p)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment