About Chinese GBK coded search words cannot be read

Hi, Chinese GBK code search words display chaotic code, do not know whether this problem can be solved? We have tried our own coding, but the program has completely negated our newly added code. Do we know if we can solve the problem of Chinese GBK encoding search word garbled?