When, in PHP, I have variable that's hold Unicode characters do I need to worry about storing it in MySQL database?
Lets say I have variable value Dejan Čolić
, I suppose that will for Unicode characters use 2 chars (or 4, I am not sure). Then my variable will be 13/17 chars long in database instead of 11 chars that are firstly specified. Am I right?
If I am right, is there some PHP function that will help count future Unicode characters so I could do proper data validation? Thanks.