Home > Back-end >  Ever compare whether the two groups of Chinese string content the same way
Ever compare whether the two groups of Chinese string content the same way

Time:03-14

Comparing STRCMP found only English and Numbers

CodePudding user response:

The
refer to the original poster gamma gamma gamma gamma gamma? Response:
comparing STRCMP found only English and Numbers


Not sure,

CodePudding user response:

The original poster can try to use STRNCMP judged according to the given number of characters,
The third parameter set to the maximum value of an array of characters,

CodePudding user response:

First the utf8 encoding of Chinese characters
  • Related