□ Why string is broken : because the string format is different between system and putty
□ Solution : set same format between system and putty
○ Case of UTF-8
- Execute : putty
- Set charactor set : Category → Window → Translation → 'Remote character set' to UTF-8
- Set charactor set : Category → Window → Translation → 'Remote character set' to UTF-8
○ Case of EUC-KR
- Execute : regedit
- Path movement : HKEY_CURRENT_USER\ Software\ SimonTatham\ PuTTY\
sessions\UNIX_%BB%EA%B1%E2%B4%EB
- Set data : 'FontCharSet' to hexadecimal 81
- Set data : 'LineCodePage' to CP949
- Path movement : HKEY_CURRENT_USER\ Software\ SimonTatham\ PuTTY\
sessions\UNIX_%BB%EA%B1%E2%B4%EB
- Set data : 'FontCharSet' to hexadecimal 81
- Set data : 'LineCodePage' to CP949