No database has a limit of 255 characters. Varchar limits are; MySQL - 65,535. MS SQL Server 2005 - 8000 (or 2GB if you use varchar(max) ). Oracle 9i - 4000
These are not character limits. They're byte limits. If you're storing multibyte strings (eg unicode-16, emoji, etc) then each character will take up more than one 'space'.
But really, asking on HN? This is what StackOverflow is for.