When I took out mysql's data from centOS to python, Hangul is a question mark?How do we solve what's written as

Asked 2 years ago, Updated 2 years ago, 38 views

CentOS locale information is as follows

LANG=ko_KR.UTF-8
LC_CTYPE="ko_KR.UTF-8"
LC_NUMERIC="ko_KR.UTF-8"
LC_TIME="ko_KR.UTF-8"
LC_COLLATE="ko_KR.UTF-8"
LC_MONETARY="ko_KR.UTF-8"
LC_MESSAGES="ko_KR.UTF-8"
LC_PAPER="ko_KR.UTF-8"
LC_NAME="ko_KR.UTF-8"
LC_ADDRESS="ko_KR.UTF-8"
LC_TELEPHONE="ko_KR.UTF-8"
LC_MEASUREMENT="ko_KR.UTF-8"
LC_IDENTIFICATION="ko_KR.UTF-8"
LC_ALL=

For example, if you check the DB that says, "This is 1336; test is right" and print a print statement in CentOS, "??? 1336;?????????????" It comes out like this... What's the problem? "# -- Coding:euc-kr-- "It's no use trying this

"

python centos ubuntu

2022-09-20 19:27

1 Answers


2022-09-20 19:27

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.