(20)
https://qiita.com/TsutomuNakamura/items/f48b9ed690cfc008acd2
-- fontのインストール
mkdir -p ~/.local/share/fonts
cd ~/.local/share/fonts
wget https://raw.githubusercontent.com/googlei18n/noto-emoji/master/fonts/NotoColorEmoji.ttf
fc-cache -f
sudo reboot
※GUIコンソールから確認
寿司
U+1F363
絵文字の表示
echo -e "\U1F363"
バイト列の表示
echo -n "🍣" | xxd -p
(11)
※GUIコンソールから確認
寿司
U+1F363
絵文字の表示
echo -e "\U1F363"
バイト列の表示
echo -n "🍣" | xxd -p
(8)
※GUIコンソールから確認
寿司
U+1F363
絵文字の表示
echo -e "\U1F363"
バイト列の表示
echo -n "🍣" | xxd -p
- Windows Server
(2022)
https://ascii.jp/elem/000/004/075/4075690/
https://www.worldofitech.com/how-to-install-windows-terminal-on-windows-10/#:~:text=%EE%80%80Install%20Windows%20Terminal%20on%20Windows%2010%EE%80%81%2F%EE%80%80Windows%20Server%202019%EE%80%81.,utilizing%20the%20%EE%80%80Windows%20terminal%EE%80%81%20application.%20There%20you%20go.
https://shigeo-t.hatenablog.com/entry/2020/11/29/050000
https://www.powershellcenter.com/2021/02/19/add-emojis-to-powershell-output/
※通常版のWindows Server 2019ではWindows Terminalをインストールできない
-- Windows Terminalのインストール
Set-ExecutionPolicy Bypass -Scope Process -Force;
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install Microsoft-windows-terminal
Restart-Computer -Force
寿司
U+1F363
絵文字の表示
[System.Console]::OutputEncoding=[System.Text.Encoding]::UTF8
[System.Char]::ConvertFromUtf32($([System.Convert]::toInt32("1F363",16)))
バイト列の表示
[System.Text.Encoding]::UTF8.GetBytes("🍣") | %{$_.ToString("X2")}