인코딩 에러
❯ gdb-gef ─╯
GEF for linux ready, type `gef' to start, `gef config' to configure
93 commands loaded and 5 functions added for GDB 12.1 in 0.00ms using Python engine 3.10
Python Exception <class 'UnicodeEncodeError'>: 'ascii' codec can't encode character '\u27a4' in position 12: ordinal not in range(128)
(gdb)
해결 방법
sudo apt update
sudo apt install locales
sudo locale-gen en_US.UTF-8
sudo dpkg-reconfigure locales
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
정상 작동 확인
❯ gdb-gef ─╯
GEF for linux ready, type `gef' to start, `gef config' to configure
93 commands loaded and 5 functions added for GDB 12.1 in 0.00ms using Python engine 3.10
gef➤