Created
May 29, 2019 04:46
-
-
Save AgainPsychoX/f2b915b32ad42e96f04eb11b5d916a78 to your computer and use it in GitHub Desktop.
This file contains 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'; | |
void main() { | |
String source = 'Błonie'; | |
List<int> list = source.codeUnits; | |
Uint8List bytes = Uint8List.fromList(list); | |
String outcome = String.fromCharCodes(bytes); | |
print(outcome); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment