Press "Enter" to skip to content

Including Unicode Symbols and Emoji in Powershell

Patrick Gruenauer notes that Powershell can display Unicode characters and emoji:

For showing all (or almost all) characters run the following code. The example gets 15.000 characters.

# Showing Unicode 16-bit character
for($i=0; $i-lt15000;$i++) {
   "Char $i : $([char]$i)"
}

Click through to see what you can do with this.