nghuuphuoc/bootstrapvalidator — pull request #844 by thx2001r (2014-09-15 18:43:08+00:00)
Title: Added option to evaluate length in UTF-8 bytes

Set the utf8Bytes boolean to "true" (defaults to "false") to compare the min/max string length in UTF-8 bytes to facilitate validation for database inserts. By setting the boolean as "false" or not specifying it, is compatible with existing functionality of this validator so this shouldn't affect anyone's existing usage of this validator.

This code is based on that by lovasoa (http://github.com/lovasoa) posted at the following web address on 4/27/2014: http://stackoverflow.com/a/23329386