在微信无法显示中文的情况,可以通过增加字体和设 Lang variable 的方式来解决。
具体看:https://askubuntu.com/questions/1019530/chinese-fonts-are-not-visible-in-programs-installed-in-wine
如果可以显示中文,但是输入框无法显示正在输入的文字或内容,则需要添加 dll 文件来解决。
具体看:https://zhuanlan.zhihu.com/p/76331687
| import configparser | |
| import binascii | |
| import struct | |
| import sys | |
| signature = b'IMAGEWTY' | |
| header_ver = 0x300 | |
| header_size = 96 | |
| format_ver = 0x100234 |
| //DNS Query Program on Linux | |
| //Author : Silver Moon (m00n.silv3r@gmail.com) | |
| //Dated : 29/4/2009 | |
| //Header Files | |
| #include<stdio.h> //printf | |
| #include<string.h> //strlen | |
| #include<stdlib.h> //malloc | |
| #include<sys/socket.h> //you know what this is for | |
| #include<arpa/inet.h> //inet_addr , inet_ntoa , ntohs etc |