Home > front end >  To transmit data with nc simulation under the Windows client, neety server receives a Chinese garble
To transmit data with nc simulation under the Windows client, neety server receives a Chinese garble

Time:03-03

Environment:
1. Nc. Exe simulation client data transmission (Windows environment coding format for GBK)
2. Neety server receives data (server-side Java code are unified utf-8)

Description: turn GBK utf-8 is always work right I don't really understand the principle of the figure 2 inside comments: we have tried the code decoding methods are still failed
There is a way of a Chinese character two question marks after the situation but question mark how I also don't know much about
Question: what a great god can teach me, as I encountered this kind of situation to do? Crab crab:
The client code format is as follows:


Send Chinese, after the server receives the printed for the code, as shown in figure


CodePudding user response:

Code is not correct, you may use "GBK code",

CodePudding user response:

The building Lord finally solved
  • Related