Open jonasraoni opened 5 months ago
VARCHAR(255) in MySQL means 255 bytes 😑
Are you sure? Looking at MySQL documentation for 8.0...
For definitions of character string columns (CHAR, VARCHAR, and the TEXT types), MySQL interprets length specifications in character units.
Maybe this changed at some point?
Yep, this behavior was modified a long time ago, I'll update the description 😁
Describe the bug When trying to enter more characters than I'm allowed to, I receive an error message. In general all text fields that have limits should receive a max length limiter to help the user understand what's happening.
Another alternative would be to setup the database to cutoff the rest, but as a user, I wouldn't like it.
To Reproduce
What application are you using? OJS 3.4