utf 8 - putty not printing utf-8 characters on serial connection -
i using serial connection access serial port of beagleboard. rootfs on beagleboard using busybox. have set encoding=utf-8 in putty. when paste chinese characters on screen converted "?" ls showing correctly. example paste ls 技术笔记 on screen.
linux#> ls ???? 技术笔记
i wonder why chinese characters converted "??" on copy pasting in putty window.
when connect other linux machine using putty via ssh, there no problem , characters displayed correctly on putty window.
edit 1: copy pasting 1st character, 技, putty generates correct utf-8 code , send serial port. added printk @ tty layer print hexadecimal character received tty layer.
linux#> [ 0][ 220.604000] e68a [ 0][ 220.608000] 80?d -/bin/sh: 技: not found
e6 8a 80 utf-8 code corresponding 技.
*nix:
... install locale locale-gen dpkg-reconfigure locales
putty > settings > window > font settings > font > change...
Comments
Post a Comment