Home > Net >  Very strange, why only 5 Chinese characters input textbox, much more so wrong?
Very strange, why only 5 Chinese characters input textbox, much more so wrong?

Time:11-11

Mainly is the name of the textbox, going through a database and component Settings, should have no problem,

CodePudding user response:

Is an error when you search for? Of MaxLength limit what's wrong, it's only when the input out of character, he is lost to it again

CodePudding user response:

The
big watermelon a WuYiJin reference 1 floor? Response:
is an error when you search for? Of MaxLength limit what's wrong, it's only when the input out of character, then he is lost to all

CodePudding user response:

Is the fifth Chinese characters is a special symbol? Emoticons? Don't use utf8 database code you use utf8mb4

CodePudding user response:

The
reference 3 floor HZTLTGG response:
is the fifth Chinese characters is a special symbol? Emoticons? Database code you use utf8mb4, do not use utf8
no special characters, pure Chinese characters, etc. Will change code try

CodePudding user response:

The coding e585, what is "successful"? You get rid of the normal Chinese characters one by one try, look at the word wrong? Or manual will play a few Numbers go to the error

CodePudding user response:

 no, who is thriving this two word recruit who make? Seems to be some words are blocked,

CodePudding user response:

Look at how to set up your SQL field, insert the contents of the special characters

CodePudding user response:

the name of the data type is tinytext

What is this type?

Change the text is bad?

Baidu results:
A range of different, store

1, tinytext: maximum length of bai du255 bytes (2 ^ 8-1),

2, the text: the maximum length of 65535 bytes (2 ^ 16-1),

Second, zhi, effect of different

1, tinytext: dao store binary data, case sensitive,

2, the text: store binary data, case insensitive,

CodePudding user response:

8/f, 123 reference handicraft response:
the name of the data type is tinytext

What is this type?

Change the text is bad?

Baidu results:
A range of different, store

1, tinytext: maximum length of bai du255 bytes (2 ^ 8-1),

2, the text: the maximum length of 65535 bytes (2 ^ 16-1),

Second, zhi, effect of different

1, tinytext: dao store binary data, case sensitive,

2, the text: store binary data, case-insensitive,
changed tried, the error is still there,

CodePudding user response:

I stepped over the pit is the database encoding problem,,,

CodePudding user response:

references to the tenth floor plans for melody response:
I stepped over the pit is the database encoding problem,,,
I tried to adjust this encoding utf8 and utf16, also did not improve, with specific characters or will go wrong,

CodePudding user response:

added" charset=utf16 "connection instead of make a mistake,

CodePudding user response:

11 references weixin_43405952 response:
Quote: reference to the tenth floor plans for melody response:
I stepped over the pit is the database encoding problem,,,
I tried to adjust this encoding utf8 and utf16, also did not improve, meet specific characters or will go wrong,


Is mysql library of characters need to set is not a connection string,,

CodePudding user response:

reference 13 floor plans for melody response:
Quote: reference 11 floor weixin_43405952 response:
Quote: reference to the tenth floor plans for melody response:
I stepped over the pit is the database encoding problem,,,
I tried to adjust this encoding utf8 and utf16, also did not improve, meet specific characters or will go wrong,


Is mysql library of characters need to be set is not a connection string,,


And it was not into utf8mb4 uft16 database to change, will change the connection string

CodePudding user response:

reference 13 floor plans for melody response:
Quote: reference 11 floor weixin_43405952 response:
Quote: reference to the tenth floor plans for melody response:
I stepped over the pit is the database encoding problem,,,
I tried to adjust this encoding utf8 and utf16, also did not improve, meet specific characters or will go wrong,


Is mysql library of characters need to be set is not a connection string,,


reference 13 floor plans for melody response:
Quote: reference 11 floor weixin_43405952 response:
Quote: reference to the tenth floor plans for melody response:
I stepped over the pit is the database encoding problem,,,
I tried to adjust this encoding utf8 and utf16, also did not improve, meet specific characters or will go wrong,


Is mysql library of characters need to be set is not a connection string,,
to mend, utf8, utf8mb4 are tried, or an error,

CodePudding user response:

  • Related