nvarchar - A ideal data type for long utf8 strings in mysql -


Is it true that VARCHAR type mysql only suppory 255 character data length? If it is true, what type of data type for UTF8 strings is useful for long texts? I am using the utf8_persian_ci datatype.

Note that there is a problem with the utf8_persian_ci in the text datatype.

VARCHAR in all current versions of MySQL is 65535.

In the earlier versions of MySQL, the maximum length of

, VARCHAR was 255, but this ancient history (where Ancient is before March 2005).

The CHAR data type is still a limit of 255 characters.


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -